Skip to content

Commit 72359ba

Browse files
authored
Merge pull request #157 from pythonkr/fix/deployment-workflow-secrets-error
Fix: 누락된 현재 repo 이름을 가져오는 로직 추가
2 parents b3eec26 + 2d64f13 commit 72359ba

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/deploy_on_dev.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ jobs:
5757
pip install zappa
5858
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
5959
60+
# Retrieve repo name
61+
- name: Get current date and repo name
62+
id: info
63+
run: |
64+
echo "::set-output name=repository_name::$(echo ${{ github.repository }} | sed -e 's/${{ github.repository_owner }}\///')"
65+
6066
# Checkout and import zappa config
6167
- name: Checkout secrets repo
6268
uses: actions/checkout@v4

.github/workflows/deploy_on_prod.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ jobs:
5757
pip install zappa
5858
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
5959
60+
# Retrieve repo name
61+
- name: Get current date and repo name
62+
id: info
63+
run: |
64+
echo "::set-output name=repository_name::$(echo ${{ github.repository }} | sed -e 's/${{ github.repository_owner }}\///')"
65+
6066
# Checkout and import zappa config
6167
- name: Checkout secrets repo
6268
uses: actions/checkout@v4

0 commit comments

Comments
 (0)