22
.github/workflows/cd.yml
vendored
Normal file
22
.github/workflows/cd.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: cd
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
name: Deploy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: "1.23.0"
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: scripts/buildprod.sh
|
||||||
Reference in New Issue
Block a user