Skip to content

Commit 013db24

Browse files
committed
test
1 parent 2e6b4ca commit 013db24

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/docs_preview.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ jobs:
3838
run: BASE='/docs-preview/pr-${{ github.event.number }}/' yarn build
3939
working-directory: docs
4040

41-
- name: Clear default git credentials
42-
run: git config --global --unset http.https://github.com/.extraheader || true
41+
- name: Check deploy token is set
42+
env:
43+
HAS_TOKEN: ${{ secrets.PREVIEW_DEPLOY != '' }}
44+
run: echo "PREVIEW_DEPLOY is set=$HAS_TOKEN"
4345

4446
- name: Deploy preview
4547
uses: rossjrw/pr-preview-action@v1

0 commit comments

Comments
 (0)