mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Cache docs dependencies
This commit is contained in:
parent
a3cf55781c
commit
957e4df1a7
10
.github/workflows/docs_build.yml
vendored
10
.github/workflows/docs_build.yml
vendored
@ -24,6 +24,7 @@ on:
|
|||||||
env:
|
env:
|
||||||
OUT_DIR: ${{ github.events.inputs.relative_path }}
|
OUT_DIR: ${{ github.events.inputs.relative_path }}
|
||||||
BASE_URL: https://nh.outerwildsmods.com/
|
BASE_URL: https://nh.outerwildsmods.com/
|
||||||
|
PIPENV_VENV_IN_PROJECT: enabled
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -37,6 +38,15 @@ jobs:
|
|||||||
- if: github.ref == 'refs/heads/master'
|
- if: github.ref == 'refs/heads/master'
|
||||||
run: |
|
run: |
|
||||||
echo "OUT_DIR=/" >> $GITHUB_ENV
|
echo "OUT_DIR=/" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Cache Dependencies
|
||||||
|
uses: actions/cache@v2
|
||||||
|
id: cache-dependencies
|
||||||
|
with:
|
||||||
|
path: ./.venv
|
||||||
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/Pipfile.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-pipenv
|
||||||
|
|
||||||
- name: Install dependecies
|
- name: Install dependecies
|
||||||
uses: VaultVulp/action-pipenv@v2.0.1
|
uses: VaultVulp/action-pipenv@v2.0.1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user