Skip to content

Commit

Permalink
fix: 다른 설정값도 환경변수를 GITHUB_ENV를 사용해 설정, issues: write 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogu1208 committed Sep 4, 2024
1 parent d895ae2 commit f4d52da
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dev-aws-CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
permissions:
contents: read
checks: write
issues: write

jobs:
build:
Expand Down Expand Up @@ -42,8 +43,11 @@ jobs:
- name: Grant Execute Permission For Gradlew
run: chmod +x gradlew

- name: Set up Jasypt Encryptor Password
run: echo "JASYPT_ENCRYPTOR_PASSWORD=${{ secrets.JASYPT_ENCRYPTOR_PASSWORD }}" >> $GITHUB_ENV
- name: Set up Environment Variables
run: |
echo "JASYPT_ENCRYPTOR_PASSWORD=${{ secrets.JASYPT_ENCRYPTOR_PASSWORD }}" >> $GITHUB_ENV
echo "DOCKER_REPOSITORY=${{ secrets.DOCKER_REPOSITORY }}" >> $GITHUB_ENV
echo "DOCKER_REPOSITORY_NGINX=${{ secrets.DOCKER_REPOSITORY_NGINX }}" >> $GITHUB_ENV
- name: Build With Gradle
run: ./gradlew build -x test --warning-mode all
Expand Down

0 comments on commit f4d52da

Please sign in to comment.