Skip to content

Commit a5c791d

Browse files
authored
Fix usage of goatscripts run-with-summary.
1 parent ed0faa2 commit a5c791d

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/ops.site.deploy.ddev.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ on:
8787
description: The URL to use for the GitHub environment.
8888

8989
env:
90-
PATH: ${{ env.GITHUB_WORKSPACE }}/goatscripts/src:/usr/local/bin:/usr/bin:/bin
90+
PATH: ./goatscripts/src:/usr/local/bin:/usr/bin:/bin
9191

9292
jobs:
9393
deploy-code:
@@ -155,17 +155,17 @@ jobs:
155155
- uses: actions/checkout@v4
156156
with:
157157
repository: 'jonpugh/goatscripts'
158-
ref: 'v1.0.0'
159-
path: .scripts
158+
ref: 'main'
159+
path: goatscripts
160160

161161
- name: Start site
162162
working-directory: ${{ inputs.git_root }}
163163
if: ${{ inputs.run_start_command }}
164164
env:
165-
HEADER: Started DDEV Site
165+
SUCCESS: Started DDEV Site :rocket:
166+
ERROR: DDEV start failed :x:
166167
run: |
167-
ls -la
168-
.scripts/src/run-with-summary ${{ inputs.start_command }}
168+
run-with-summary ${{ inputs.start_command }}
169169
170170
# Import, sync, install, etc.
171171
prepare-data:
@@ -184,18 +184,17 @@ jobs:
184184
name: Install scripts
185185
with:
186186
repository: 'jonpugh/goatscripts'
187-
ref: 'v1.0.0'
187+
ref: 'main'
188188
path: goatscripts
189189

190190
- name: Prepare data
191191
working-directory: ${{ inputs.git_root }}
192192
if: ${{ inputs.run_prepare_command }}
193193
run: |
194-
ls -la
195-
./run-with-summary ${{ inputs.prepare_command }}
194+
run-with-summary ${{ inputs.prepare_command }}
196195
197196
- name: Deploy command
198197
working-directory: ${{ inputs.git_root }}
199198
if: ${{ inputs.run_deploy_command }}
200199
run: |
201-
.scripts/src/run-with-summary ${{ inputs.deploy_command }}
200+
run-with-summary ${{ inputs.deploy_command }}

0 commit comments

Comments
 (0)