Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rogg committed Oct 29, 2023
1 parent 02183cf commit f6b73bb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/fly-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
branches: [dev]

jobs:
deploy:

deploy-app:
name: Deploy staging app
runs-on: ubuntu-latest
steps:
Expand All @@ -23,4 +24,7 @@ jobs:
--build-secret WORKER_PSK=${{ secrets.WORKER_PSK }} \
--remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
deploy-workers:
uses: ./.github/workflows/workers.yml
8 changes: 6 additions & 2 deletions .github/workflows/fly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
branches: [main]

jobs:
deploy:

deploy-app:
name: Deploy app
runs-on: ubuntu-latest
steps:
Expand All @@ -23,4 +24,7 @@ jobs:
--build-secret WORKER_PSK=${{ secrets.WORKER_PSK }} \
--remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
deploy-workers:
uses: ./.github/workflows/workers.yml
6 changes: 3 additions & 3 deletions .github/workflows/workers.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CF Workers Deploy

on:
push:
workflow_call:

jobs:
deploy:
deploy-workers:
name: Deploy workers
runs-on: ubuntu-latest
steps:
Expand All @@ -13,4 +13,4 @@ jobs:
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
workingDirectory: "workers/ps-signatures"
workingDirectory: "./workers/ps-signatures/"

0 comments on commit f6b73bb

Please sign in to comment.