File tree Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -57,18 +57,18 @@ jobs:
57
57
pip install zappa
58
58
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
59
59
60
- # Pull request dose not get the gitub action secrets
61
- # this section will be applied to the deploy workflows
62
- - name : Setup Auth for Private Repo
63
- uses :
webfactory/[email protected]
60
+ # Checkout and import zappa config
61
+ - name : Checkout secrets repo
62
+ uses : actions/checkout@v4
64
63
with :
65
- ssh-private-key : ${{ secrets.SSH_SECRET_GOLONY }}
66
- # ssh-private-key: ${{ secrets.GH_PYCONKR_SECRETS }}
67
-
68
- - name : update pyconkr-secretes
69
- run : |
70
- chmod 775 ./update_secrets.sh
71
- ./update_secrets.sh
64
+ repository : ${{ secrets.PYCONKR_SECRET_REPOSITORY }}
65
+ ssh-key : ${{ secrets.PYCONKR_SECRET_REPOSITORY_DEPLOY_KEY }}
66
+ path : secret_envs
67
+ clean : false
68
+ sparse-checkout-cone-mode : false
69
+ sparse-checkout : |
70
+ ${{ steps.info.outputs.repository_name }}/zappa_settings.json
71
+ - run : mv secret_envs/${{ steps.info.outputs.repository_name }}/zappa_settings.json ./zappa_settings.json && rm -rf secret_envs
72
72
73
73
# - name: Test with Django Test
74
74
# run: |
Original file line number Diff line number Diff line change @@ -57,18 +57,18 @@ jobs:
57
57
pip install zappa
58
58
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
59
59
60
- # Pull request dose not get the gitub action secrets
61
- # this section will be applied to the deploy workflows
62
- - name : Setup Auth for Private Repo
63
- uses :
webfactory/[email protected]
60
+ # Checkout and import zappa config
61
+ - name : Checkout secrets repo
62
+ uses : actions/checkout@v4
64
63
with :
65
- ssh-private-key : ${{ secrets.SSH_SECRET_GOLONY }}
66
- # ssh-private-key: ${{ secrets.GH_PYCONKR_SECRETS }}
67
-
68
- - name : update pyconkr-secretes
69
- run : |
70
- chmod 775 ./update_secrets.sh
71
- ./update_secrets.sh
64
+ repository : ${{ secrets.PYCONKR_SECRET_REPOSITORY }}
65
+ ssh-key : ${{ secrets.PYCONKR_SECRET_REPOSITORY_DEPLOY_KEY }}
66
+ path : secret_envs
67
+ clean : false
68
+ sparse-checkout-cone-mode : false
69
+ sparse-checkout : |
70
+ ${{ steps.info.outputs.repository_name }}/zappa_settings.json
71
+ - run : mv secret_envs/${{ steps.info.outputs.repository_name }}/zappa_settings.json ./zappa_settings.json && rm -rf secret_envs
72
72
73
73
# - name: Test with Django Test
74
74
# run: |
You can’t perform that action at this time.
0 commit comments