update: secret 참조 방식 변경 #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ON PR/Merge - Check Errors | Build | ||
on: | ||
pull_request: | ||
branches: [ "develop", "main" ] | ||
push: | ||
branches: [ "develop", "main", "refactor-jdb-gitaction-workflow" ] | ||
jobs: | ||
merged: | ||
if: github.event.pull_request.merged == true | ||
name: Build Nextjs | ||
uses: ./.github/workflows/front.yml | ||
secrets: | ||
ECR_URL: ${{ secrets.ECR_REPO_DEV_FRONT }} | ||
ROLE_ARN: ${{ secrets.OIDC_ROLE }} | ||
AWS_REGION: ${{ secrets.AWS_REGION }} | ||
WEBHOOK_URL: ${{ secrets.WEBHOOK }} | ||
pr: | ||
if: ${{ github.event.pull_request.merged == false && github.event == 'push'}} | ||
name: Error Check | ||
uses: ./.github/workflows/check_err.yml | ||
# pushed-1: | ||
# if: ${{ github.event.pull_request.merged == false && github.event != 'push'}} | ||
# name: Error Check | ||
# uses: ./.github/workflows/check_err.yml | ||
pushed-2: | ||
if: ${{ github.event.pull_request.merged == false && github.event != 'push'}} | ||
name: Build Nextjs | ||
uses: ./.github/workflows/front.yml | ||
Check failure on line 33 in .github/workflows/on_pr.yml GitHub Actions / ON PR/Merge - Check Errors | BuildInvalid workflow file
|
||
# needs: pushed-1 |