From 9d9875d509f0ae02b108a6959eec9da039d14db2 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 5 Jan 2024 16:08:30 -0500 Subject: [PATCH] Require approval to deploy to production --- .github/workflows/DeployPages.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/DeployPages.yml b/.github/workflows/DeployPages.yml index ac73736..1c9e783 100644 --- a/.github/workflows/DeployPages.yml +++ b/.github/workflows/DeployPages.yml @@ -128,6 +128,8 @@ jobs: needs: [build, deploy-github-pages] permissions: contents: write + environment: + name: production steps: - name: Download artifact compressed id: download @@ -179,4 +181,4 @@ jobs: draft: false commit: ${{ github.head_ref }} tag: v${{ needs.build.outputs.datetime }} - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + token: ${{ secrets.GITHUB_TOKEN }}