Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme for the need of fly org token #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ If you have an existing `fly.toml` in your repo, this action will copy it with a

`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](https://fly.io/user/personal_access_tokens).

Note: If you have a team or organization account please create an org token, as auth token will not work here and set the value in `FLY_API_TOKEN`. We can create a token by running `fly tokens create org` or by going directly to your fly dashboard and then choose "Tokens" from the bottom left side.

## Basic Example

```yaml
Expand All @@ -39,8 +41,8 @@ on:

env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
FLY_REGION: iad
FLY_ORG: personal
FLY_REGION: <your region>
FLY_ORG: personal OR org name

jobs:
staging_app:
Expand Down