Skip to content

Commit

Permalink
bump jsmrcaga/action-netlify-deploy to v2.4.0 (#5627)
Browse files Browse the repository at this point in the history
  • Loading branch information
phanirithvij authored Feb 27, 2025
1 parent e9f7663 commit 6e4dfec
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/site-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: site-deploy
on:
push:
branches:
- 'main'
- "main"

permissions:
contents: read # to fetch code (actions/checkout)
contents: read # to fetch code (actions/checkout)

jobs:
build:
Expand All @@ -15,15 +15,15 @@ jobs:
environment: netlify
container: golang:latest
steps:
- uses: actions/checkout@v4
- name: Get dependencies
run: go get -v -t -d ./...
- name: Make awesome-go.com
run: go run .
- name: deploy awesome-go.com
uses: jsmrcaga/action-netlify-deploy@v1.1.0
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DEPLOY_TO_PROD: true
build_directory: out
- uses: actions/checkout@v4
- name: Get dependencies
run: go get -v -t -d ./...
- name: Make awesome-go.com
run: go run .
- name: deploy awesome-go.com
uses: jsmrcaga/action-netlify-deploy@v2.4.0
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DEPLOY_TO_PROD: true
build_directory: out

0 comments on commit 6e4dfec

Please sign in to comment.