Skip to content

Commit 8668ee1

Browse files
authored
add pro deployment (#2012)
* add pro deployment * upd group
1 parent fc4f2c2 commit 8668ee1

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

.github/workflows/pro-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
- develop
88
jobs:
99
deploy:
10-
name: Deploy projects-refresh-service app
10+
name: Deploy pro app
1111
runs-on: ubuntu-latest
12-
concurrency: projects-refresh # optional: ensure only one action runs at a time
12+
concurrency: pro-deploy # optional: ensure only one action runs at a time
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: superfly/flyctl-actions/setup-flyctl@master
16-
- run: flyctl deploy --remote-only --config fly-projects-refresh-service.toml --image-label latest
16+
- run: flyctl deploy --remote-only --config fly-pro.toml
1717

1818
env:
19-
FLY_API_TOKEN: ${{ secrets.FLYIO_PROJECTS_REFRESH_SVC_TOKEN }}
19+
FLY_API_TOKEN: ${{ secrets.FLYIO_PRO_TOKEN }}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
2+
3+
name: Deploy projects-refresh-service
4+
on:
5+
push:
6+
branches:
7+
- develop
8+
jobs:
9+
deploy:
10+
name: Deploy projects-refresh-service app
11+
runs-on: ubuntu-latest
12+
concurrency: projects-refresh # optional: ensure only one action runs at a time
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: superfly/flyctl-actions/setup-flyctl@master
16+
- run: flyctl deploy --remote-only --config fly-projects-refresh-service.toml --image-label latest
17+
18+
env:
19+
FLY_API_TOKEN: ${{ secrets.FLYIO_PROJECTS_REFRESH_SVC_TOKEN }}

0 commit comments

Comments
 (0)