File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,23 @@ jobs:
1919 content_path : ' src/content/blog'
2020 post_filename : ' index.md'
2121 site_url : ' https://www.codingwithcalvin.net'
22- url_prefix : ' /blog '
22+ url_prefix : ' '
2323 event_name : ${{ github.event_name }}
2424 categories_field : ' categories'
2525
26- notify :
26+ wait-for-deploy :
2727 needs : detect
28- if : needs.detect.outputs.has_new_post == 'true'
28+ if : needs.detect.outputs.has_new_post == 'true' && github.event_name == 'push'
29+ runs-on : ubuntu-latest
30+ steps :
31+ - name : Wait for Cloudflare deployment
32+ run : |
33+ echo "Waiting 5 minutes for Cloudflare to deploy..."
34+ sleep 300
35+
36+ notify :
37+ needs : [detect, wait-for-deploy]
38+ if : always() && needs.detect.outputs.has_new_post == 'true' && needs.detect.result == 'success'
2939 uses : CodingWithCalvin/.github/.github/workflows/bluesky-post.yml@main
3040 with :
3141 post_text : |
3444 [${{ needs.detect.outputs.post_title }}](${{ needs.detect.outputs.post_url }})
3545
3646 ${{ needs.detect.outputs.post_hashtags }}
47+ embed_url : ${{ needs.detect.outputs.post_url }}
3748 secrets :
3849 BLUESKY_USERNAME : ${{ secrets.BLUESKY_USERNAME }}
3950 BLUESKY_APP_PASSWORD : ${{ secrets.BLUESKY_APP_PASSWORD }}
You can’t perform that action at this time.
0 commit comments