@@ -144,22 +144,22 @@ jobs:
144
144
SHA : ${{ github.sha }}
145
145
run : |
146
146
shortsha=$(echo "$SHA" | cut -b 1-6)
147
- echo "SHORTSHA=$shortsha" >> $GITHUB_OUTPUT
147
+ echo "SHORTSHA=$shortsha" >> " $GITHUB_OUTPUT"
148
148
149
149
- name : " Set variables: target branch, commit title"
150
150
id : set_vars
151
151
env :
152
152
REF_NAME : ${{ github.ref_name }}
153
153
run : |
154
154
if [[ "${{ github.event_name }}" == 'push' && "${{ github.ref_type }}" == 'branch' && "$REF_NAME" != "${{ env.DIST_DEFAULT_BRANCH }}" ]]; then
155
- echo "BRANCH=$REF_NAME" >> $GITHUB_OUTPUT
156
- echo "TITLE=Syncing branch $REF_NAME (sha: ${{ steps.set_sha.outputs.SHORTSHA }})" >> $GITHUB_OUTPUT
155
+ echo "BRANCH=$REF_NAME" >> " $GITHUB_OUTPUT"
156
+ echo "TITLE=Syncing branch $REF_NAME (sha: ${{ steps.set_sha.outputs.SHORTSHA }})" >> " $GITHUB_OUTPUT"
157
157
elif [[ "${{ github.event_name }}" == 'workflow_dispatch' && "$REF_NAME" != "${{ env.DIST_DEFAULT_BRANCH }}" ]]; then
158
- echo "BRANCH=$REF_NAME" >> $GITHUB_OUTPUT
159
- echo "TITLE=Manual deploy for $REF_NAME (sha: ${{ steps.set_sha.outputs.SHORTSHA }})" >> $GITHUB_OUTPUT
158
+ echo "BRANCH=$REF_NAME" >> " $GITHUB_OUTPUT"
159
+ echo "TITLE=Manual deploy for $REF_NAME (sha: ${{ steps.set_sha.outputs.SHORTSHA }})" >> " $GITHUB_OUTPUT"
160
160
else # = Pushed tag.
161
- echo "BRANCH=${{ env.DIST_DEFAULT_BRANCH }}" >> $GITHUB_OUTPUT
162
- echo "TITLE=Release $REF_NAME" >> $GITHUB_OUTPUT
161
+ echo "BRANCH=${{ env.DIST_DEFAULT_BRANCH }}" >> " $GITHUB_OUTPUT"
162
+ echo "TITLE=Release $REF_NAME" >> " $GITHUB_OUTPUT"
163
163
fi
164
164
165
165
- name : Checkout Yoast Dist repo
@@ -254,7 +254,7 @@ jobs:
254
254
if : ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
255
255
env :
256
256
REF_NAME : ${{ github.ref_name }}
257
- run : git tag "$REF_NAME" $(git rev-parse HEAD)
257
+ run : git tag "$REF_NAME" " $(git rev-parse HEAD)"
258
258
259
259
- name : Push to target branch
260
260
run : git push -u origin ${{ steps.set_vars.outputs.BRANCH }} --tags -v
0 commit comments