5

The Gatsby Changelog Prototype

 2 years ago
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.
neoserver,ios ssh client

My Workflow

gatsby-inc/changelog

A scheduled workflow for Jamstack Static Site Generators.

Demo: https://changelog.gatsbyjs.io


Submission Category:

DIY Deployments


Yaml File or Link to Code

build-me.yml

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK