Skip to content

fix: test failing in main due to unordered repos (#6132) #1072

fix: test failing in main due to unordered repos (#6132)

fix: test failing in main due to unordered repos (#6132) #1072

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@v6
- name: Get dependencies
run: go get -v -t -d ./...
- name: Restore GitHub metadata cache
uses: actions/cache@v4
with:
path: .cache/repos
key: repo-meta-${{ github.run_id }}
restore-keys: repo-meta-
- name: Make awesome-go.com
run: go run .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: 20
- name: deploy awesome-go.com
uses: nwtgck/actions-netlify@v3.0
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: 10