diff options
| author | 2023-07-26 18:02:52 +0800 | |
|---|---|---|
| committer | 2023-07-26 18:02:52 +0800 | |
| commit | 70964662a05b6d86af8b11d20c8160aa5e7b2de9 (patch) | |
| tree | 612b6bd7e7ec0f22e47c1d6988d72164bca68034 /.github/workflows | |
| parent | 598e22e76085c3b9df994207bc67ca0126f28176 (diff) | |
| parent | aa4e453e46d6df21991e848b56b52afa72029273 (diff) | |
| download | TRPGNivis-70964662a05b6d86af8b11d20c8160aa5e7b2de9.tar.gz TRPGNivis-70964662a05b6d86af8b11d20c8160aa5e7b2de9.zip | |
Merge remote-tracking branch 'origin/main'
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/pages.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..eaf6a06 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,27 @@ +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: | + cd docs + pip install -r requirements.txt + mkdocs gh-deploy --force |
