From c08f2ba17683da5c817b4cdfe823a6d0c1ab92b8 Mon Sep 17 00:00:00 2001 From: mateuszpiorowski Date: Sun, 23 Apr 2023 19:55:55 +0200 Subject: [PATCH] update --- .github/workflows/deploy.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..f85c8bec --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,20 @@ +name: Deploy +on: + push: + branches: + - release/** +jobs: + lint-client: + uses: ./.github/workflows/lint-client.yml + lint-server: + needs: + - lint-client + uses: ./.github/workflows/lint-server.yml + deploy-users: + steps: + - uses: actions/checkout@v3 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only + working-directory: service-users + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}