build and publish API docs #27
Workflow file for this run
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: publish-docs | |
run-name: build and publish API docs | |
on: | |
push: | |
# only build and publish docs on release-please tags | |
branches: ["chore/versionize-docs"] | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build-and-publish-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: try out git stuff | |
shell: bash -l -e {0} | |
run: | | |
set -x | |
git status | |
git ls-files | |
git branch -a | |
git fetch origin | |
git checkout gh-pages | |
git ls-files |