diff options
| author | 2023-07-25 12:37:11 +0800 | |
|---|---|---|
| committer | 2023-07-25 12:37:11 +0800 | |
| commit | d304910159e6824dae201e4e4aeafa0ff7984292 (patch) | |
| tree | d0849d123ba9b88fb7f19e827dcd28344bad5863 /.github/workflows | |
| parent | ccbe69c9e072c4bf8364e23a461d224e150a421f (diff) | |
| download | TRPGNivis-d304910159e6824dae201e4e4aeafa0ff7984292.tar.gz TRPGNivis-d304910159e6824dae201e4e4aeafa0ff7984292.zip | |
add docs
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/pages.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..67b129b --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,25 @@ +name: ci +on: + push: + branches: + - master + - main +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - 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 |
