Skip to content

Commit 265917c

Browse files
authored
Update deploy-gh-pages.yml
Signed-off-by: Christopher Brownlie <[email protected]>
1 parent 71ef2c6 commit 265917c

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/deploy-gh-pages.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Deploy to GitHub Pages
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
workflow_dispatch:
75

86
jobs:
97
build:
@@ -25,17 +23,14 @@ jobs:
2523

2624
- name: Upload artifacts
2725
uses: actions/upload-artifact@v4
28-
with:
29-
name: wasm-build
30-
path: pkg
3126

3227
deploy:
3328
runs-on: ubuntu-latest
3429
needs: build
3530

3631
steps:
37-
- name: Checkout repository
38-
uses: actions/checkout@v2
32+
- name: Download a Build Artifact
33+
uses: actions/[email protected]
3934

4035
- name: Install wasm-bindgen-cli
4136
run: cargo install wasm-bindgen-cli
@@ -48,11 +43,6 @@ jobs:
4843

4944
- name: Setup Pages
5045
uses: actions/configure-pages@v4
51-
52-
- name: Upload artifact
53-
uses: actions/upload-pages-artifact@v3
54-
with:
55-
path: ./out
5646

5747
- name: Deploy to GitHub Pages
5848
id: deployment

0 commit comments

Comments
 (0)