Skip to content

Commit a039308

Browse files
committed
updated deploy workflow
1 parent a275769 commit a039308

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,24 @@ on:
88
- 'index.html'
99

1010
jobs:
11-
build-deploy:
11+
build-and-deploy:
1212
runs-on: ubuntu-latest
13+
1314
steps:
14-
- name: Checkout repository
15+
- name: Checkout Repository
1516
uses: actions/checkout@v4
16-
- name: Upload artifact
17+
18+
- name: Create Deployment Directory
19+
run: |
20+
mkdir -p _site
21+
cp index.html _site/
22+
23+
- name: Archive Artifact
24+
run: tar -czf site.tar.gz _site/
25+
26+
- name: Upload Artifact
1727
uses: actions/upload-pages-artifact@v3
28+
1829
- name: Deploy to Pages
1930
uses: actions/deploy-pages@v4
2031
with:

0 commit comments

Comments
 (0)