Skip to content

Commit

Permalink
fix: send help
Browse files Browse the repository at this point in the history
  • Loading branch information
lewxdev committed Aug 27, 2024
1 parent 5344e80 commit 869a9e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,21 @@ on:
branches:
- main

env:
BASE_URL: https://mmmines.fly.dev

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: production
url: https://mmmines.fly.dev
url: ${{ env.BASE_URL }}
# ensure only one deployment runs at a time
concurrency: deploy-group

steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
- run: flyctl deploy --remote-only --build-secret BASE_URL=${{ env.BASE_URL }}
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
7 changes: 3 additions & 4 deletions .github/workflows/fly-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- id: deploy
uses: superfly/fly-pr-review-apps@1.2.1
uses: JargeZ/fly-pr-review-apps@unsafe-name
with:
secrets: |
BASE_URL=https://${{ env.FLY_APP }}.fly.dev
REDIS_URL=${{ secrets.REDIS_URL }}
build_secrets: BASE_URL=https://${{ env.FLY_APP }}.fly.dev
secrets: REDIS_URL=${{ secrets.REDIS_URL }}
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,5 @@
"tailwindFunctions": [
"tw"
]
},
"dockerfile": {
"secrets": [
"BASE_URL"
]
}
}

0 comments on commit 869a9e0

Please sign in to comment.