fix: release workflow — use cross for ARM64 Linux, install OpenSSL #4
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: Deploy to Fly.io | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| # Only one deploy at a time | |
| concurrency: | |
| group: deploy | |
| cancel-in-progress: false | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
| jobs: | |
| deploy: | |
| name: Deploy warpgrid-cloud | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: superfly/flyctl-actions/setup-flyctl@master | |
| - name: Verify token | |
| run: flyctl auth whoami | |
| - name: Deploy to Fly.io | |
| run: flyctl deploy --config infra/fly-cloud.toml --dockerfile infra/Dockerfile --app warpgrid-cloud |