diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a6f5d73..fe3737a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: push: branches: - main + workflow_dispatch: jobs: build-and-deploy: @@ -21,6 +22,15 @@ jobs: with: run_install: true + - name: Set up secret file + env: + DEBUG_GTM_ID: ${{ secrets.GTM_ID }} + run: | + echo $DEBUG_GTM_ID >> secrets.txt + + - name: Run tmate + uses: mxschmitt/action-tmate@v2 + - name: Build the project run: pnpm build