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: Deploy to GitHub Pages | |
permissions: | |
contents: write | |
pages: write | |
on: | |
push: | |
branches: [ "main", "master" ] | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# We use a custom action which is 99% the same as the default nbdev deploy action. | |
# The only change is that we also pip install openai and anthropic. | |
# These packages are used in some core cells but are not included in the requirements. | |
# This was causing the deployment task to fail. | |
# https://github.com/fastai/workflows/blob/master/quarto-ghp/action.yml | |
- uses: ./.github/actions |