Skip to content

Commit

Permalink
update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-yj-yang committed Dec 12, 2024
1 parent ee2b29e commit 2828d89
Showing 1 changed file with 8 additions and 24 deletions.
32 changes: 8 additions & 24 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -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

steps:
- uses: fastai/workflows/quarto-ghp@master
# with: {pre: 1}

0 comments on commit 2828d89

Please sign in to comment.