Skip to content

Commit

Permalink
Oops. Trying again. This should succeed.
Browse files Browse the repository at this point in the history
  • Loading branch information
patcon committed Oct 21, 2024
1 parent 012e686 commit f4eaac3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
# - force changes to our GitHub Pages website,
# - force commit status updates,
# unless the permissions key below is changed.
pull_request_target:
pull_request:
types: [opened, synchronize, reopened]

# Be careful about changing these, due to pull_request_target trigger.
Expand Down Expand Up @@ -38,11 +38,11 @@ jobs:
checkout: false

- name: Fail if PR portion of build failed
if: ${{ github.event_name == 'pull_request_target' }}
if: ${{ github.event_name == 'pull_request' }}
shell: bash
env:
#DIRECTORY: dist/storybook-bundle/PR-${{ github.event.number }}
DIRECTORY: dist/storybook-bundle/PR-19
DIRECTORY: dist/storybook-bundle/PR-${{ github.event.number }}
#DIRECTORY: dist/storybook-bundle/PR-19
run: |
if [ ! -d "$DIRECTORY" ]; then
echo Pull Request build directory "$DIRECTORY does not exist."
Expand Down

0 comments on commit f4eaac3

Please sign in to comment.