Skip to content

Commit

Permalink
docs.yml: fix changes from #230
Browse files Browse the repository at this point in the history
i.e.  every step must define a `uses` or `run` key
  • Loading branch information
deltheil committed Feb 1, 2024
1 parent 3a9cd95 commit 5984e8a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,31 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v4
uses: actions/checkout@v4

- name: Set up git username and address
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Install Python
- uses: actions/setup-python@v4
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Set cache key
run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV

- name: Handle cache
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install MkDocs dependencies
- run: pip install -r requirements.docs.txt
run: pip install -r requirements.docs.txt

- name: Deploy to GitHub Pages
- run: mkdocs gh-deploy --force
run: mkdocs gh-deploy --force

0 comments on commit 5984e8a

Please sign in to comment.