Skip to content

Commit

Permalink
Merge pull request #157 from pythonkr/fix/deployment-workflow-secrets…
Browse files Browse the repository at this point in the history
…-error

Fix: 누락된 현재 repo 이름을 가져오는 로직 추가
  • Loading branch information
MU-Software authored Aug 28, 2024
2 parents b3eec26 + 2d64f13 commit 72359ba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy_on_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ jobs:
pip install zappa
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# Retrieve repo name
- name: Get current date and repo name
id: info
run: |
echo "::set-output name=repository_name::$(echo ${{ github.repository }} | sed -e 's/${{ github.repository_owner }}\///')"
# Checkout and import zappa config
- name: Checkout secrets repo
uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/deploy_on_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ jobs:
pip install zappa
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# Retrieve repo name
- name: Get current date and repo name
id: info
run: |
echo "::set-output name=repository_name::$(echo ${{ github.repository }} | sed -e 's/${{ github.repository_owner }}\///')"
# Checkout and import zappa config
- name: Checkout secrets repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 72359ba

Please sign in to comment.