File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 33 inputs :
44
55 git_repository :
6+ default : ${{ github.event.repository.clone_url }}
67 required : true
78 type : string
89 description : The repository to deploy.
910
1011 git_reference :
12+ default : ${{ github.head_ref || github.ref_name }}
1113 required : true
1214 type : string
1315 description : The git reference to deploy.
1416
15- path :
17+ git_root :
1618 required : true
1719 type : string
1820 description : The path to clone the repository into. (Use absolute paths. Otherwise it is relative to the github runner workspace, which is ephemeral.)
2830 description : Whether to run the sync command.
2931
3032 deploy_command :
31- default : ddev sync
33+ default : ddev drush deploy
3234 type : string
3335 description : The command to run after deploying new code.
3436
5557 default : ubuntu-latest
5658 description : The label of the runner you wish to use.
5759
60+ github_environment :
61+ type : string
62+ default : ${{ github.head_ref || github.ref_name }}
63+ description : The string to use as the github environment.
64+
5865jobs :
5966 deploy-code :
6067 runs-on : ${{ inputs.github_runs_on }}
68+
69+ environment :
70+ name : ${{ inputs.github_environment }}
71+ url : " http://${{ inputs.ddev_project_name }}.${{ inputs.ddev_project_tld }}?${{ github.run_id }}"
72+
6173 steps :
6274 - name : Hello world
6375 run : |
You can’t perform that action at this time.
0 commit comments