Skip to content

Commit

Permalink
make prod deploy also deploy web apps
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Apr 1, 2024
1 parent bcc187e commit 3e6ca5b
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,6 @@ env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

jobs:
# check-for-changes:
# runs-on: ubuntu-latest
# permissions:
# contents: read
# outputs:
# exitCode: ${{ steps.check.outputs.exitCode }}

# steps:
# # uses turborepo to check for changes to build dependencies in @biscuits/server
# - name: Checkout repository
# uses: actions/checkout@v3

# - name: Check for changes
# run: npx turbo-ignore @biscuits/server --task=build
# id: check
# continue-on-error: true

deploy:
runs-on: ubuntu-latest
name: Deploy to production
Expand All @@ -41,3 +24,9 @@ jobs:
- name: Deploy API
# deploy the image from ghcr.io for the target sha (short version)
run: flyctl deploy --image ghcr.io/a-type/biscuits:sha-${SHORT_SHA}

- name: Deploy Web
run: curl -X POST ${{ secrets.CORE_WEB_DEPLOY_HOOK_PROD }}

- name: Deploy Trip Tick
run: curl -X POST ${{ secrets.TRIP_TICK_DEPLOY_HOOK_PROD }}

0 comments on commit 3e6ca5b

Please sign in to comment.