From 0e242afd7c88c81af941f5d42e01fb05c0070c76 Mon Sep 17 00:00:00 2001 From: "Amy J. Ko" Date: Wed, 25 Oct 2023 08:47:49 -0700 Subject: [PATCH] Don't deploy on pull request. --- .../workflows/firebase-hosting-pull-request.yml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .github/workflows/firebase-hosting-pull-request.yml diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml deleted file mode 100644 index 024ae3a67..000000000 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ /dev/null @@ -1,17 +0,0 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools - -name: Deploy to Firebase Hosting on PR -'on': pull_request -jobs: - build_and_preview: - if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: npm ci && echo "${{ secrets.ENV_FILE }}" > .env.template && npm run build - - uses: FirebaseExtended/action-hosting-deploy@v0 - with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_WORDPLAY_DEV }}' - projectId: wordplay-dev