Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
setup-python cache + use pipe to run multiple commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Rongmario committed Sep 7, 2023
1 parent 9cfe494 commit 6afaf39
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
cache: 'pip'
- run: |
pip install -r dependencies.txt
mkdocs gh-deploy --force

0 comments on commit 6afaf39

Please sign in to comment.