Finished working on playground and added a CI/CD step

This commit is contained in:
Leon Mika 2024-04-26 10:31:41 +10:00
parent fdc480262d
commit 1d7a076f63
8 changed files with 91 additions and 23 deletions

26
.github/workflows/build.yaml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.21.6
- name: Build
run: |
make test
- name: Site
run: |
make site-deploy
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}