Skip to content

Revert "mc: surface OWNER TOKEN in dashboard" #85

Revert "mc: surface OWNER TOKEN in dashboard"

Revert "mc: surface OWNER TOKEN in dashboard" #85

Workflow file for this run

name: CI/CD
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
test-go:
name: Go tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: build
run: go build ./...
- name: test (race detector)
run: go test ./... -race -timeout 60s
deploy:
name: Deploy to Fly.io
needs: [test-go]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: deploy
run: flyctl deploy --remote-only --build-arg CACHEBUST=${{ github.run_id }} --app kapoost-humanmcp
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}