5
The Gatsby Changelog Prototype
source link: https://dev.to/pauliescanlon/the-gatsby-changelog-prototype-302h
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
My Workflow
A scheduled workflow for Jamstack Static Site Generators.
Demo: https://changelog.gatsbyjs.io
Submission Category:
DIY Deployments
Yaml File or Link to Code
name: Build Site
on:
schedule:
- cron: '* */12 * * *'
jobs:
Trigger-Build:
runs-on: ubuntu-latest
steps:
- run: echo "set env using GATSBY_CLOUD_BUILD_WEBOOK"
env:
GATSBY_WEBHOOK: ${{secrets.GATSBY_CLOUD_BUILD_WEBOOK}}
- name: Post to Gatsby Cloud Webhook
id: rebuild
uses: fjogeleit/http-request-action@master
with:
url: ${{secrets.GATSBY_CLOUD_BUILD_WEBOOK}}
method: 'POST'
Enter fullscreen mode
Exit fullscreen mode
Additional Resources / Info
fjogeleit/http-request-action@master
You can read how I created this Workflow and Demo here: Building The Gatsby Changelog Prototype
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK