We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e6b4ca commit 013db24Copy full SHA for 013db24
1 file changed
.github/workflows/docs_preview.yml
@@ -38,8 +38,10 @@ jobs:
38
run: BASE='/docs-preview/pr-${{ github.event.number }}/' yarn build
39
working-directory: docs
40
41
- - name: Clear default git credentials
42
- run: git config --global --unset http.https://github.com/.extraheader || true
+ - name: Check deploy token is set
+ env:
43
+ HAS_TOKEN: ${{ secrets.PREVIEW_DEPLOY != '' }}
44
+ run: echo "PREVIEW_DEPLOY is set=$HAS_TOKEN"
45
46
- name: Deploy preview
47
uses: rossjrw/pr-preview-action@v1
0 commit comments