release: release version 0.20.0 #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: website | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
prerelease-docs-build-deploy: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- run: "git fetch origin gh-pages --depth=1" | |
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f | |
with: | |
python-version: 3.11 | |
- name: Install poetry | |
uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439 | |
with: | |
poetry-version: latest | |
- name: Install dependencies, compile and deploy docs | |
run: | | |
git config user.name 'jj-docs[bot]' | |
git config user.email 'jj-docs[bot]@users.noreply.github.io' | |
.github/scripts/docs-build-deploy 'https://martinvonz.github.io/jj' prerelease --push | |
- name: "Show `git diff --stat`" | |
run: git diff --stat gh-pages^ gh-pages || echo "(No diffs)" |