There was an error while loading. Please reload this page.
1 parent 6b72c9f commit 8e8b6feCopy full SHA for 8e8b6fe
1 file changed
.github/workflows/fetch-instagram-posts.yml
@@ -10,6 +10,7 @@ jobs:
10
fetch-posts:
11
runs-on: ubicloud-standard-8
12
permissions:
13
+ actions: write
14
contents: write
15
16
steps:
@@ -44,3 +45,9 @@ jobs:
44
45
git add social-posts/ images/facebook-posts/
46
git commit -m "Auto-update: Fetch new Facebook posts"
47
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