diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 34ecf03..b26235b 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -44,4 +44,6 @@ jobs: with: repoToken: '${{ secrets.GITHUB_TOKEN }}' firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIVSEC_356523 }}' - projectId: privsec-356523 \ No newline at end of file + projectId: privsec-356523 + channelID: '$(cat ./pr/NR)' + expires: 30d \ No newline at end of file diff --git a/.github/workflows/pull-request-receiver.yml b/.github/workflows/pull-request-receiver.yml index f1dd0a3..ee9c309 100644 --- a/.github/workflows/pull-request-receiver.yml +++ b/.github/workflows/pull-request-receiver.yml @@ -24,6 +24,11 @@ jobs: - name: Build Hugo site run: hugo --minify + - name: Save PR number + run: | + mkdir -p ./pr + echo ${{ github.event.number }} > ./pr/NR + - name: Upload artifact uses: actions/upload-artifact@v2 with: