Skip to content

Commit 8e8b6fe

Browse files
committed
Cause a rebuild
1 parent 6b72c9f commit 8e8b6fe

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/fetch-instagram-posts.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
fetch-posts:
1111
runs-on: ubicloud-standard-8
1212
permissions:
13+
actions: write
1314
contents: write
1415

1516
steps:
@@ -44,3 +45,9 @@ jobs:
4445
git add social-posts/ images/facebook-posts/
4546
git commit -m "Auto-update: Fetch new Facebook posts"
4647
git push
48+
49+
- name: Rebuild site
50+
if: steps.verify-changed-files.outputs.changed == 'true'
51+
env:
52+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
run: gh workflow run build-and-deploy.yml --ref "$GITHUB_REF_NAME"

0 commit comments

Comments
 (0)