Skip to content

Commit

Permalink
Create docs-pages-deploy.yml (#41)
Browse files Browse the repository at this point in the history
* Create docs-pages-deploy.yml
  • Loading branch information
danielchalef authored May 15, 2023
1 parent f44ef08 commit 13fdc72
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docs-pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: docs-pages-deploy
on:
workflow_dispatch:

permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: 'getzep/docs'
ref: 'main'
- uses: actions/setup-python@v4
with:
python-version: 3.10
- 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==9.1.12"
- run: mkdocs gh-deploy --force

0 comments on commit 13fdc72

Please sign in to comment.