Revert "mc: surface OWNER TOKEN in dashboard" #85
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |