Skip to content

Commit 4b39875

Browse files
stopwatch
1 parent 6d2a590 commit 4b39875

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
name: Deploy to GitHub Pages
1+
name: 🚀 Deploy Stopwatch App to GitHub Pages
22

33
on:
44
push:
55
branches:
6-
- main
6+
- main # or use 'master' if your repo uses that
77

88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
11+
1112
steps:
12-
- name: Checkout code
13-
uses: actions/checkout@v2
13+
- name: 📥 Checkout Code
14+
uses: actions/checkout@v3
15+
16+
- name: 🔧 Setup Node (Not required but useful for builds)
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: '18'
1420

15-
- name: Deploy to GitHub Pages
21+
- name: 🚚 Deploy to GitHub Pages
1622
uses: peaceiris/actions-gh-pages@v3
1723
with:
1824
github_token: ${{ secrets.GITHUB_TOKEN }}
19-
publish_dir: ./SCT_WD_2
25+
publish_dir: ./
26+
publish_branch: gh-pages

0 commit comments

Comments
 (0)