Skip to content

Commit

Permalink
prod: test23 (#prod)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkdhoho committed May 28, 2024
1 parent a436332 commit 1cbd610
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/prod-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}

- name: IP를 파일로 저장
run: echo "${{ steps.ip.outputs.ipv4 }}" > ip)address.txt
run: echo "${{ steps.ip.outputs.ipv4 }}" > ip_address.txt

- name: IP 주소를 아티팩트로 업로드
uses: actions/upload-artifact@v3
Expand All @@ -46,14 +46,13 @@ jobs:
needs: [ ip-setup ]
runs-on: ubuntu-latest
steps:
- name: 아티팩트에서 IP 주소 다운로드
- name: 아티팩트에서 IP 주소 읽어 저장하기
uses: actions/download-artifact@v3
with:
name: ip-address
path: .

- name: IP 주소 읽기
id: ip
run: |
IP_ADDRESS=$(cat ip_address.txt)
echo "IP_ADDRESS=${IP_ADDRESS}" >> $GITHUB_ENV
Expand Down

0 comments on commit 1cbd610

Please sign in to comment.