From 79f2f0f5de61e29b6010f344bf7fcfb4d64ec55e Mon Sep 17 00:00:00 2001 From: Xyven1 Date: Sun, 17 Sep 2023 04:44:10 +0000 Subject: [PATCH] added environment --- .github/workflows/firebase-hosting-merge.yml | 1 + .github/workflows/firebase-hosting-pull-request.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index c36911f..87a4230 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -9,6 +9,7 @@ name: Deploy to Firebase Hosting on merge jobs: build_and_deploy: runs-on: ubuntu-latest + environment: Deploy steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index f05e8b6..fb22306 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -7,6 +7,7 @@ jobs: build_and_preview: if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' runs-on: ubuntu-latest + environment: Deploy steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3