26 lines
583 B
YAML
26 lines
583 B
YAML
|
on:
|
||
|
push:
|
||
|
|
||
|
jobs:
|
||
|
publish:
|
||
|
runs-on: docker
|
||
|
env:
|
||
|
NETLIFY_SITE_ID: da2ef727-4297-4fb9-8735-0cc2c6bef2b5
|
||
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v3
|
||
|
- name: Setup Node
|
||
|
uses: actions/setup-node@v4
|
||
|
with:
|
||
|
node-version: 21.1
|
||
|
- name: Setup Go
|
||
|
uses: actions/setup-go@v3
|
||
|
with:
|
||
|
go-version: '1.23.2'
|
||
|
- name: Build
|
||
|
run: |
|
||
|
make
|
||
|
- name: Deploy
|
||
|
run: |
|
||
|
netlify deploy --dir target --prod
|