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 }}