Skip to content

feat: add go-size-analyzer (#5286) #619

feat: add go-size-analyzer (#5286)

feat: add go-size-analyzer (#5286) #619

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@v3
- name: Get dependencies
run: go get -v -t -d ./...
- name: Make awesome-go.com
run: go run .
- name: deploy awesome-go.com
uses: jsmrcaga/[email protected]
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DEPLOY_TO_PROD: true
build_directory: out