Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try manual deploy
Browse files Browse the repository at this point in the history
scott-yj-yang committed Dec 12, 2024
1 parent ee175cf commit ee2b29e
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
name: Deploy to GitHub Pages
name: Deploy to GitHub Pages (Manual)
on:
push:
branches:
- master
- scott/gihtub_action_test
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: fastai/workflows/quarto-ghp@master
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

0 comments on commit ee2b29e

Please sign in to comment.