22 lines
371 B
YAML
22 lines
371 B
YAML
name: Deploy Production
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.22'
|
|
|
|
- name: Build
|
|
run: CGO_ENABLED=0 go build -o main ./cmd/api
|
|
|
|
- name: Deploy
|
|
run: echo "Production deploy via docker"
|