diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9cbefc6..d7aacfe 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,29 +1,13 @@ -name: Deploy to GitHub Pages (Manual) +name: Deploy to GitHub Pages on: + push: + branches: [master scott/gihtub_action_test] workflow_dispatch: +env: + OBJC_DISABLE_INITIALIZE_FORK_SAFETY: YES jobs: deploy: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 - - name: Install Dependencies - shell: bash - run: | - python -m pip install --upgrade pip - pip install -Uq git+https://github.com/fastai/ghapi.git # you need this for enabling pages - pip install -Uq git+https://github.com/fastai/fastcore.git - pip install -Uq git+https://github.com/fastai/execnb.git - pip install -e ".[dev]" - wget -nv https://www.quarto.org/download/latest/quarto-linux-amd64.deb - sudo dpkg -i quarto*.deb - nbdev_docs - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ github.token }} - force_orphan: true - publish_dir: ${{ env.NBDEV_DOCS }} - user_name: github-actions[bot] - user_email: 41898282+github-actions[bot]@users.noreply.github.com - \ No newline at end of file + steps: + - uses: fastai/workflows/quarto-ghp@master +# with: {pre: 1} \ No newline at end of file