From c9b06d5a26cf2a6dfac27a3957f5a017ce74c21c Mon Sep 17 00:00:00 2001 From: hocaron Date: Sun, 23 Jun 2024 14:54:51 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B9=83=ED=97=99=20=ED=86=A0=ED=81=B0?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd-prod-admin.yml | 7 ++----- .github/workflows/cd-prod-member.yml | 7 ++----- .github/workflows/cd-prod-recruit.yml | 7 ++----- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cd-prod-admin.yml b/.github/workflows/cd-prod-admin.yml index 53a3d53d..c8adc3af 100644 --- a/.github/workflows/cd-prod-admin.yml +++ b/.github/workflows/cd-prod-admin.yml @@ -8,13 +8,10 @@ jobs: name: 운영 환경 production 배포한다 runs-on: ubuntu-latest steps: - - name: Set up GitHub CLI - uses: actions/setup-gh@v2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - - name: Check if actor is admin id: check-admin + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | user_login=${{ github.actor }} repo=${{ github.repository }} diff --git a/.github/workflows/cd-prod-member.yml b/.github/workflows/cd-prod-member.yml index 6f070f19..336cc4fd 100644 --- a/.github/workflows/cd-prod-member.yml +++ b/.github/workflows/cd-prod-member.yml @@ -8,13 +8,10 @@ jobs: name: 운영 환경 production 배포한다 runs-on: ubuntu-latest steps: - - name: Set up GitHub CLI - uses: actions/setup-gh@v2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - - name: Check if actor is admin id: check-admin + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | user_login=${{ github.actor }} repo=${{ github.repository }} diff --git a/.github/workflows/cd-prod-recruit.yml b/.github/workflows/cd-prod-recruit.yml index e6f1762a..329addda 100644 --- a/.github/workflows/cd-prod-recruit.yml +++ b/.github/workflows/cd-prod-recruit.yml @@ -8,13 +8,10 @@ jobs: name: 운영 환경 production 배포한다 runs-on: ubuntu-latest steps: - - name: Set up GitHub CLI - uses: actions/setup-gh@v2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - - name: Check if actor is admin id: check-admin + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | user_login=${{ github.actor }} repo=${{ github.repository }}