Skip to content

Commit

Permalink
fix(workflow): dir stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
TrebledJ committed Jun 10, 2024
1 parent 4d8f088 commit 0fcd890
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pr.automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
uses: actions/checkout@v4
with:
ref: site
path: master/
path: tmp/

- run: cp -r tmp/_site/ master/

- name: Download PR Site
uses: actions/download-artifact@v4
Expand All @@ -61,12 +63,13 @@ jobs:
path: pr/

- name: Ignore Files
run: rm master/_site/css/shooting-stars.* pr/_site/css/shooting-stars.*
# Ignore files which rely on compile-time RNG.
run: rm master/css/shooting-stars.* pr/css/shooting-stars.*

- name: Diff Folders
id: diff
continue-on-error: true
run: git diff --word-diff=porcelain --no-index --output .diff -- master/_site/ pr/
run: git diff --word-diff=porcelain --no-index --output .diff -- master/ pr/

- name: Diff Found
if: steps.diff.outcome != 'success'
Expand Down

0 comments on commit 0fcd890

Please sign in to comment.