Skip to content

Commit 74701c7

Browse files
committed
cleanup
1 parent cd5648a commit 74701c7

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,37 @@
1-
# This file was created automatically with `jupyter-book init --gh-pages` 🪄 💚
2-
# Ensure your GitHub Pages settings for this repository are set to deploy with **GitHub Actions**.
3-
41
name: Jupyter Book (via myst) GitHub Pages Deploy
2+
53
on:
64
push:
7-
# Runs on pushes targeting the default branch
85
branches: [main]
96
env:
10-
# `BASE_URL` determines, relative to the root of the domain, the URL that your site is served from.
11-
# E.g., if your site lives at `https://mydomain.org/myproject`, set `BASE_URL=/myproject`.
12-
# If, instead, your site lives at the root of the domain, at `https://mydomain.org`, set `BASE_URL=''`.
137
BASE_URL: /${{ github.event.repository.name }}
14-
15-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
168
permissions:
179
contents: read
1810
pages: write
1911
id-token: write
20-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2212
concurrency:
2313
group: 'pages'
2414
cancel-in-progress: false
15+
2516
jobs:
2617
deploy:
2718
environment:
2819
name: github-pages
2920
url: ${{ steps.deployment.outputs.page_url }}
3021
runs-on: ubuntu-latest
3122
steps:
32-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
3324
- name: Setup Pages
34-
uses: actions/configure-pages@v3
35-
- uses: actions/setup-node@v4
25+
uses: actions/configure-pages@v5
26+
- uses: actions/setup-node@v5
3627
with:
3728
node-version: 18.x
3829
- name: Install Jupyter Book (via myst)
3930
run: npm install -g jupyter-book
4031
- name: Build HTML Assets
4132
run: jupyter-book build --html
4233
- name: Upload artifact
43-
uses: actions/upload-pages-artifact@v3
34+
uses: actions/upload-pages-artifact@v4
4435
with:
4536
path: './_build/html'
4637
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)