Skip to content

Commit

Permalink
Do not refresh dynamic content for PR build
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Jan 4, 2024
1 parent d46ef75 commit 42ad7f8
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,36 +35,6 @@ jobs:
with:
fetch-depth: 0

- name: Git Config
run: |
git config user.name ${{ env.GH_BOT_NAME }}
git config user.email ${{ env.GH_BOT_EMAIL }}
- name: Git Sumbodule Update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git pull --recurse-submodules
git submodule update --init --remote --recursive
deno task lastmod
if git diff --quiet; then
echo "-- No changes -- "
else
git commit -am "🆙 Auto-update submodule references" && git push
fi
- name: Git Discussion Update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
deno task discuss
if git diff --quiet; then
echo "-- No changes -- "
else
git commit -am "💬 Auto-update GH Discussions" && git push
fi
- name: Build site
run: deno task build

Expand Down

0 comments on commit 42ad7f8

Please sign in to comment.