Skip to content

Commit cc5a6b4

Browse files
committed
.
1 parent 079f64a commit cc5a6b4

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/docs-deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Detect manual run
2121
run: |
2222
echo "Detected manual run."
23-
echo "deploy=true" > deploy.txt
23+
echo "deploy=true" > /home/runner/deploy.txt
2424
2525
- if: github.event_name == 'push'
2626
name: Checkout repository
@@ -46,13 +46,12 @@ jobs:
4646
fi
4747
4848
echo "Commit $GITHUB_SHA is from a merged PR."
49-
echo "deploy=true" > deploy.txt
49+
echo "deploy=true" > /home/runner/deploy.txt
5050
5151
- name: Output deploy value
5252
id: collect
5353
run: |
54-
ls -la
55-
source deploy.txt
54+
source /home/runner/deploy.txt
5655
echo "$deploy" >> "$GITHUB_OUTPUT"
5756
echo "Got deploy=$deploy"
5857

0 commit comments

Comments
 (0)