File tree Expand file tree Collapse file tree 1 file changed +12
-18
lines changed Expand file tree Collapse file tree 1 file changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,16 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - name : Checkout repository
17- uses : actions/checkout@v2
18-
19- - name : Set up Docker Buildx
20- uses : docker/setup-buildx-action@v1
21-
22- - name : Log in to GitHub Docker registry
23- uses : docker/login-action@v1
24- with :
25- registry : ghcr.io
26- username : ${{ github.actor }}
27- password : ${{ secrets.GITHUB_TOKEN }}
28-
29- - name : Build and push Docker image
30- uses : docker/build-push-action@v2
16+ - name : Setup Node.js
17+ uses : actions/setup-node@v3
3118 with :
32- context : .
33- push : true
34- tags : ghcr.io/${{ github.repository }}:latest
19+ node-version : ' 16'
20+
21+ - name : Install Netlify CLI
22+ run : npm install -g netlify-cli
23+
24+ - name : Deploy to Netlify
25+ run : netlify deploy --prod
26+ env :
27+ NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_AUTH_TOKEN }}
28+ NETLIFY_SITE_ID : ${{ secrets.NETLIFY_SITE_ID }}
You can’t perform that action at this time.
0 commit comments