···11+on:
22+ push:
33+ branches:
44+ - dev
55+66+env:
77+ EXEC: arimelody-web
88+99+jobs:
1010+ deploy:
1111+ runs-on: docker
1212+ steps:
1313+ - name: Checkout repository
1414+ uses: actions/checkout@v4
1515+1616+ - name: Set up Go
1717+ uses: actions/setup-go@v4
1818+ with:
1919+ go-version: '^1.25.1'
2020+2121+ - name: Run tests
2222+ run: go test -v ./model
2323+2424+ - name: Build binary
2525+ run: make build
2626+2727+ - name: Bundle tarball
2828+ run: make bundle
2929+3030+ - name: Set up SSH keys
3131+ uses: webfactory/ssh-agent@v0.9.0
3232+ with:
3333+ ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
3434+3535+ - name: Copy to production server
3636+ run: echo "we'll just pretend it works lol"
+2
.forgejo/workflows/push-prod.yaml
···15151616 - name: Set up Go
1717 uses: actions/setup-go@v4
1818+ with:
1919+ go-version: '^1.25.1'
18201921 - name: Run tests
2022 run: go test -v ./model