File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -106,11 +106,24 @@ jobs:
106106 echo -----------------------------
107107 echo "Cloned code to ${{ inputs.git_root }}"
108108
109- # Not possible if runner is not root.
110- # @TODO: Only run if ddev is not installed, and we have root access.
111- # Leaving here for testing, for now.
109+ start-site :
110+ name : Start site
111+ runs-on : ${{ inputs.github_runs_on }}
112+ needs : deploy-code
113+
114+ environment :
115+ name : ${{ inputs.github_environment }}
116+ url : " http://${{ inputs.ddev_project_name }}.${{ inputs.ddev_project_tld }}?${{ github.run_id }}"
117+
118+ steps :
119+
120+ # Install DDEV, if needed.
121+ # This can only run if running in an isolated CI container with root access.
122+ # @TODO: Figure out how to skip this if ddev already installed.
112123 - name : Setup DDEV
113124 uses : ddev/github-action-setup-ddev@v1
125+ with :
126+ autostart : false
114127
115128 - name : Start site
116129 working-directory : ${{ inputs.git_root }}
You can’t perform that action at this time.
0 commit comments