Skip to content

Commit 841c237

Browse files
committed
ci(deploy-test.yml): try to make it works
1 parent fba161d commit 841c237

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
run: mkdocs build
3232

3333
- name: Check Deployment
34-
env:
35-
GH_TOKEN: ${{ secrets.GH_PAT }}
3634
run: |
3735
if [ -d "site" ]; then
3836
echo "Deploy would have succeeded!"
3937
else
4038
echo "Deploy would have failed!"
4139
gh pr close ${{ github.event.pull_request.number }}
4240
exit 1
43-
fi
41+
fi
42+
env:
43+
GH_TOKEN: ${{ secrets.GH_PAT }}

0 commit comments

Comments
 (0)