mveytsman / flyctl-actions

:octocat: GitHub Action that wraps the flyctl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Actions for flyctl

This action wraps the flyctl CLI tool to allow deploying and managing fly apps.

Usage

name: Deploy to Fly
on: [push]
jobs:
  deploy:
    name: Deploy proxy
    runs-on: ubuntu-latest
    steps:
      # This step checks out a copy of your repository.
      - uses: actions/checkout@v2
      # This step runs `flyctl deploy`.
      - uses: superfly/flyctl-actions@master
        env:
          FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
        with:
          args: "deploy"

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.

About

:octocat: GitHub Action that wraps the flyctl

License:Apache License 2.0


Languages

Language:Shell 76.8%Language:Dockerfile 23.2%