From 9d264eb3c637119434ace119984974a3eee53b08 Mon Sep 17 00:00:00 2001 From: Michal Warda Date: Mon, 19 Feb 2024 15:14:31 +0100 Subject: [PATCH] Add web release workflow --- .github/workflows/web-release.yml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/web-release.yml diff --git a/.github/workflows/web-release.yml b/.github/workflows/web-release.yml new file mode 100644 index 000000000..bf397b5e5 --- /dev/null +++ b/.github/workflows/web-release.yml @@ -0,0 +1,33 @@ +name: Web Release +on: + push: + tags: + - 'web-v*.*.*' + +defaults: + run: + working-directory: apps/web-remix + +jobs: + test: + name: Test + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v2 + with: + version: 8.15.3 + - uses: actions/setup-node@v4 + with: + node-version: '21.6.2' + cache: 'pnpm' + cache-dependency-path: apps/web-remix/pnpm-lock.yaml + - run: pnpm install + - run: pnpm tsc + - run: pnpm test + - run: pnpm build + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.BUILDEL_WEB__FLY_API_TOKEN }}