diff options
| author | 2023-07-25 12:39:14 +0800 | |
|---|---|---|
| committer | 2023-07-25 12:39:14 +0800 | |
| commit | 5f85e4fbd379e0f31503d8e3fff1daa5faaf7e50 (patch) | |
| tree | 9527c3c4883259bf2ae3254a65fb7443248ae37f /.github | |
| parent | ccbe69c9e072c4bf8364e23a461d224e150a421f (diff) | |
| parent | 7ef3b602501202ec762da218425acac751c49f9b (diff) | |
| download | TRPGNivis-5f85e4fbd379e0f31503d8e3fff1daa5faaf7e50.tar.gz TRPGNivis-5f85e4fbd379e0f31503d8e3fff1daa5faaf7e50.zip | |
Merge pull request #4 from HydroRoll-Team/mkdocs
add docs
Diffstat (limited to '.github')
| -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 |
