From a56cd0575d1b392ddc33dbd027121664f861f754 Mon Sep 17 00:00:00 2001 From: DrewSC13 Date: Sun, 7 Jun 2026 15:34:42 -0400 Subject: [PATCH 1/2] chore: add community projects dispatch trigger --- .github/workflows/sitemap_hook.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sitemap_hook.yml b/.github/workflows/sitemap_hook.yml index 6406d0b..99ece4b 100644 --- a/.github/workflows/sitemap_hook.yml +++ b/.github/workflows/sitemap_hook.yml @@ -1,8 +1,9 @@ -name: Deploy on new sitemap +name: Deploy on external content update + on: workflow_dispatch: repository_dispatch: - types: [sitemap_changed] + types: [sitemap_changed, community_projects_changed] permissions: contents: read @@ -18,9 +19,11 @@ jobs: uses: actions/checkout@v3 with: submodules: "recursive" + - name: Update submodule run: | git submodule update --remote + - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -29,13 +32,16 @@ jobs: override: true - uses: Swatinem/rust-cache@v2 + - uses: davidB/rust-cargo-make@v1 - name: Pre Build run: | npm i + - name: Build run: cargo make build + - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: @@ -47,7 +53,8 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: post_build + steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v2 \ No newline at end of file From fb96a322023ec6172aaee88fef4cd89d2514b768 Mon Sep 17 00:00:00 2001 From: DrewSC13 Date: Sun, 7 Jun 2026 15:35:57 -0400 Subject: [PATCH 2/2] style: add trailing newline to workflow --- .github/workflows/sitemap_hook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sitemap_hook.yml b/.github/workflows/sitemap_hook.yml index 99ece4b..6ae1d8a 100644 --- a/.github/workflows/sitemap_hook.yml +++ b/.github/workflows/sitemap_hook.yml @@ -57,4 +57,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v2