Skip to content

Commit d99a5f1

Browse files
Add GitHub Actions deploy workflow
1 parent 339c460 commit d99a5f1

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,18 @@ jobs:
99
build-and-deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Checkout repository
13-
uses: actions/checkout@v3
12+
- uses: actions/checkout@v3
1413

15-
- name: Setup Node.js
16-
uses: actions/setup-node@v3
14+
- uses: actions/setup-node@v3
1715
with:
18-
node-version: '19'
16+
node-version: '18'
1917

20-
- name: Install dependencies
21-
run: npm install
18+
- run: npm install
19+
- run: npm run build
2220

23-
- name: Build
24-
run: npm run build
25-
26-
- name: Deploy
27-
uses: peaceiris/actions-gh-pages@v3
21+
- uses: peaceiris/actions-gh-pages@v3
2822
with:
2923
github_token: ${{ secrets.GITHUB_TOKEN }}
3024
publish_dir: ./build
25+
user_name: "eren-the-coder"
26+
user_email: "[email protected]"

0 commit comments

Comments
 (0)