Skip to content

Commit d32c353

Browse files
committed
update deploy
1 parent 29732a4 commit d32c353

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,30 @@ on:
55
branches: ["main"]
66
workflow_dispatch:
77

8-
98
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
109
permissions:
1110
contents: "read"
1211
pages: "write"
1312
id-token: "write"
1413

15-
1614
# Allow one concurrent deployment
1715
concurrency:
1816
group: "pages"
1917
cancel-in-progress: true
2018

21-
2219
# Default to bash in login mode
23-
# https://github.com/mamba-org/provision-with-micromamba#IMPORTANT
2420
defaults:
2521
run:
2622
shell: "bash -l {0}"
2723

28-
2924
jobs:
3025
build:
3126
runs-on: "ubuntu-latest"
3227
permissions:
3328
contents: "write"
3429
steps:
3530
- name: "Check out repository"
36-
uses: "actions/checkout@v3"
31+
uses: "actions/checkout@v4"
3732

3833
- name: "Install Conda environment"
3934
uses: "mamba-org/setup-micromamba@v1"
@@ -45,7 +40,7 @@ jobs:
4540
run: "quarto render ."
4641

4742
- name: "Upload artifact"
48-
uses: "actions/upload-pages-artifact@v1"
43+
uses: "actions/upload-pages-artifact@v2"
4944
with:
5045
path: "./_site"
5146

@@ -59,4 +54,5 @@ jobs:
5954
steps:
6055
- name: "Deploy to GitHub Pages"
6156
id: "deployment"
62-
uses: "actions/deploy-pages@v1"
57+
uses: "actions/deploy-pages@v2"
58+

0 commit comments

Comments
 (0)