Skip to content

netlify-deploy change dependency to nwtgck/[email protected] #886

netlify-deploy change dependency to nwtgck/[email protected]

netlify-deploy change dependency to nwtgck/[email protected] #886

Workflow file for this run

name: site-deploy
on:
push:
branches:
- "main"
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
name: Make and Deploy site
runs-on: ubuntu-latest
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: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: deploy awesome-go.com
uses: nwtgck/[email protected]
with:
publish-dir: "./out"
production-branch: main
production-deploy: true
enable-pull-request-comment: false
enable-commit-comment: false
enable-commit-status: false
overwrites-pull-request-comment: false
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1