Skip to content

Commit

Permalink
How to set RUBY_VERSION from .ruby-version
Browse files Browse the repository at this point in the history
  • Loading branch information
dentarg committed Mar 3, 2024
1 parent 100d582 commit 3c748ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ jobs:
concurrency: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
echo "RUBY_VERSION=$(cat .ruby-version)" >> $GITHUB_ENV
- uses: dentarg/fly@v1
with:
build-args: "RUBY_VERSION=3.2.3"
build-args: "RUBY_VERSION=${{ env.RUBY_VERSION }}"
fly-token: ${{ secrets.FLY_API_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
```
Expand Down

0 comments on commit 3c748ba

Please sign in to comment.