Skip to content

Commit 5bbbc40

Browse files
committed
Update.
1 parent 6d9a1ed commit 5bbbc40

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,17 @@ jobs:
2828
# Runs a single command using the runners shell
2929
- name: do it all
3030
run: |
31-
mkdir nonsense
32-
cd nonsense
31+
mkdir build
32+
cd build
3333
echo "<h1>hello</h1>" > index.html
3434
cd ..
35-
tar czvf nonsense.tar.gz nonsense
3635
37-
- uses: actions/upload-pages-artifact@v1
36+
- name: Build Artifact
37+
id: build
38+
uses: actions/upload-pages-artifact@v1
3839
with:
39-
name: nonsense.tar.gz
40+
path: build
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v1
4044

0 commit comments

Comments
 (0)