Merge pull request #366 from Shopify/norman/dev-update #37
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: Documentation on github pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
github-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build documentations | |
run: .github/workflows/build-docs.sh | |
- name: Deploy github pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/build/ghostferry-pages | |