From d0f4b1c85c319d41b6c1b9bc107d2c789ef5ca51 Mon Sep 17 00:00:00 2001 From: motatoes Date: Mon, 7 Jul 2025 12:56:15 -0700 Subject: [PATCH 1/2] add pro deployment --- .github/workflows/pro-deploy.yml | 6 +++--- .../workflows/pro-projects-service-deploy.yml | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/pro-projects-service-deploy.yml diff --git a/.github/workflows/pro-deploy.yml b/.github/workflows/pro-deploy.yml index 4545f1457..576b97bda 100644 --- a/.github/workflows/pro-deploy.yml +++ b/.github/workflows/pro-deploy.yml @@ -7,13 +7,13 @@ on: - develop jobs: deploy: - name: Deploy projects-refresh-service app + name: Deploy pro app runs-on: ubuntu-latest concurrency: projects-refresh # optional: ensure only one action runs at a time steps: - uses: actions/checkout@v4 - uses: superfly/flyctl-actions/setup-flyctl@master - - run: flyctl deploy --remote-only --config fly-projects-refresh-service.toml --image-label latest + - run: flyctl deploy --remote-only --config fly-pro.toml env: - FLY_API_TOKEN: ${{ secrets.FLYIO_PROJECTS_REFRESH_SVC_TOKEN }} + FLY_API_TOKEN: ${{ secrets.FLYIO_PRO_TOKEN }} diff --git a/.github/workflows/pro-projects-service-deploy.yml b/.github/workflows/pro-projects-service-deploy.yml new file mode 100644 index 000000000..4545f1457 --- /dev/null +++ b/.github/workflows/pro-projects-service-deploy.yml @@ -0,0 +1,19 @@ +# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/ + +name: Deploy projects-refresh-service +on: + push: + branches: + - develop +jobs: + deploy: + name: Deploy projects-refresh-service app + runs-on: ubuntu-latest + concurrency: projects-refresh # optional: ensure only one action runs at a time + steps: + - uses: actions/checkout@v4 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only --config fly-projects-refresh-service.toml --image-label latest + + env: + FLY_API_TOKEN: ${{ secrets.FLYIO_PROJECTS_REFRESH_SVC_TOKEN }} From aa642514882f9448d12044f32b53fae9c701d673 Mon Sep 17 00:00:00 2001 From: motatoes Date: Mon, 7 Jul 2025 12:57:57 -0700 Subject: [PATCH 2/2] upd group --- .github/workflows/pro-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pro-deploy.yml b/.github/workflows/pro-deploy.yml index 576b97bda..f745bc76c 100644 --- a/.github/workflows/pro-deploy.yml +++ b/.github/workflows/pro-deploy.yml @@ -9,7 +9,7 @@ jobs: deploy: name: Deploy pro app runs-on: ubuntu-latest - concurrency: projects-refresh # optional: ensure only one action runs at a time + concurrency: pro-deploy # optional: ensure only one action runs at a time steps: - uses: actions/checkout@v4 - uses: superfly/flyctl-actions/setup-flyctl@master