Skip to content

Commit a0f24ee

Browse files
committed
chore: add netlify deploy action
1 parent db674f0 commit a0f24ee

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Deployment'
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
deploy:
9+
name: 'Deploy to Netlify'
10+
steps:
11+
- uses: jsmrcaga/action-netlify-deploy@v1.1.0
12+
with:
13+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
14+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
15+
build_directory: '.output',
16+
build_command: npm run generate,
17+
node_version: '16.14.2',
18+
NETLIFY_DEPLOY_TO_PROD: true

0 commit comments

Comments
 (0)