Skip to content

Commit c3ac1e9

Browse files
committed
pipeline
1 parent 54a5a54 commit c3ac1e9

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)