You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: Run on Flyon: [push]jobs:
deploy:
name: Run scriptruns-on: ubuntu-lateststeps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: "flyctl ssh console --command 'sh ./myscript.sh'"env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
See the flyctl GitHub project for more information on using flyctl.
Secrets
FLY_API_TOKEN - Required. The token to use for authentication. You can find a token by running flyctl auth token or going to your user settings on fly.io.
Using the setup-flyctl action
This documentation only covers usage of the setup-flyctl action. The main action in this repository runs more slowly inside Docker, so is not recommended. It's been kept in place since many CI pipelines are still using it.