Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (23 sloc) 690 Bytes
name: Changelog Update
on:
schedule:
- cron: "0 */6 * * * "
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ./.github/actions/changelog-pull-action
id: changelog_pull
env:
FAUNADB_TOKEN: ${{ secrets.FAUNADB_TOKEN }}
- name: Build if new posts
if: steps.changelog_pull.outputs.newFaunaPostsAdded != 0
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
FAUNADB_TOKEN: ${{ secrets.FAUNADB_TOKEN }}
run: |
yarn
yarn build
npx netlify-cli deploy --dir=public --prod
You can’t perform that action at this time.