File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 1414 python-version : [3.8]
1515
1616 steps :
17- - uses : actions/checkout@v2
17+ - uses : actions/checkout@v4
1818 - uses : psf/black@stable
19- with :
19+ with :
2020 options : " --check --verbose"
2121 src : " ./pyconweb2022"
2222
@@ -57,17 +57,17 @@ jobs:
5757 pip install pytest
5858 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
5959
60- # Pull request dose not get the gitub action secrets
61- # this section will be applied to the deploy workflow
62- - name : Setup Auth for Private Repo
63- uses :
webfactory/[email protected] 60+ # Checkout and import zappa config & environment variables from secrets repo
61+ - name : Checkout secrets repo
62+ uses : actions/checkout@v4
6463 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- ./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 : ${{ steps.info.outputs.repository_name }}/zappa_settings.json
70+ - run : mv secret_envs/${{ steps.info.outputs.repository_name }}/*.json ./ && rm -rf secret_envs
7171
7272 - name : Test with Django Test
7373 run : |
You can’t perform that action at this time.
0 commit comments