File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ jobs:
138138# ----
139139
140140 deploy_demo :
141- # needs: docs
142- # if: startswith(github.ref, 'refs/tags/v')
141+ needs : docs
142+ if : startswith(github.ref, 'refs/tags/v')
143143 secrets : inherit
144144 uses : " ./.github/workflows/deploy_demo.yml"
145145
Original file line number Diff line number Diff line change 11name : Deploy the demo repository
2+ # TODO: could use current version tag of template to match the demo
3+ # and think how to preserve old branches / docs
24
35on : [workflow_dispatch, workflow_call]
46
1618 - name : Prepare SSH
1719 uses : webfactory/ssh-agent@v0.7.0
1820 with :
21+ # NOTE: generated private key, stored repo secret
22+ # (matching public key is registered Deployment Key in target Github repo)
1923 ssh-private-key : ${{ secrets.SSH_DEPLOY_KEY }}
2024
21- - name : Prepare git
25+ - name : Set git author
2226 run : |
2327 git config --global user.email "deploy-fair-python-cookiecutter@example.com"
2428 git config --global user.name "Deployment Bot"
You can’t perform that action at this time.
0 commit comments