Skip to content

Commit 6ee8305

Browse files
authored
Merge pull request Azure#51 from Azure/optimise-action
chore: Do not build docs when destroying preview url on PR close
2 parents dd39964 + ea65d8e commit 6ee8305

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/preview-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
3535
echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
3636
- name: Build workshop site
37+
if: github.event.action != "closed"
3738
run: |
3839
echo "GIT_PYTHON_REFRESH=quiet"
3940
make build-docs-website

0 commit comments

Comments
 (0)