Skip to content

Commit

Permalink
- ensure image is passed into deploy command
Browse files Browse the repository at this point in the history
  • Loading branch information
nbarrett committed Sep 21, 2024
1 parent 7613d5f commit 4c2e1b6
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,11 @@ jobs:
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
APP_NAME: ${{ secrets.APP_NAME }}
CHROMEDRIVER_VERSION: ${{ secrets.CHROMEDRIVER_VERSION }}
CHROME_VERSION: ${{ secrets.CHROME_VERSION }}
DOCKER_IMAGE: ${{ secrets.DOCKER_USERNAME }}/ngx-ramblers:latest
run: |
flyctl deploy --remote-only --image ${{ DOCKER_IMAGE }} --app ${{ APP_NAME }} \
--build-arg CHROME_VERSION=${{ secrets.CHROME_VERSION }} \
--build-arg CHROMEDRIVER_VERSION=${{ secrets.CHROMEDRIVER_VERSION }}
flyctl deploy --remote-only --image $DOCKER_IMAGE --app $APP_NAME
- name: Scale App to 1
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
APP_NAME: ${{ secrets.APP_NAME }}
CHROMEDRIVER_VERSION: ${{ secrets.CHROMEDRIVER_VERSION }}
CHROME_VERSION: ${{ secrets.CHROME_VERSION }}
run: flyctl scale count 1 --app $APP_NAME

0 comments on commit 4c2e1b6

Please sign in to comment.