Skip to content

Commit

Permalink
add ability to pass in generic args
Browse files Browse the repository at this point in the history
gjtorikian committed Nov 30, 2023
1 parent aacc392 commit 8fc9565
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/fly_deployment.yml
Original file line number Diff line number Diff line change
@@ -14,6 +14,10 @@ on:
required: false
default: false
type: boolean
fly_args:
required: false
default: ""
type: string

jobs:
deploy:
@@ -56,9 +60,10 @@ jobs:

- uses: yettoapp/actions/setup-fly@main

- run: flyctl deploy --remote-only --vm-size=performance-2x -c vendor/fly/fly-${{ inputs.target }}.toml
- run: flyctl deploy --remote-only ${{inputs.fly_args}} -c vendor/fly/fly-${{ inputs.target }}.toml
env:
FLY_API_TOKEN: ${{ secrets.fly_token }}
RAILS_ENV: ${{ inputs.target }}

- name: update deployment status
uses: actions/github-script@v7

0 comments on commit 8fc9565

Please sign in to comment.