Skip to content

Commit

Permalink
trigger netlify deploy nightly (#4321)
Browse files Browse the repository at this point in the history
This sets up a job to run at 00:00 UTC every day, which rebuilds the site from the `mochajs.org` branch.  This keeps the list of supporters up-to-date.

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
  • Loading branch information
boneskull authored Jun 17, 2020
1 parent 80863b1 commit 0368416
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/nightly-site-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Deploy `mochajs.org` branch nightly by hitting a netlify build URL.
# This updates the list of supporters

name: Nightly mochajs.org Deploy
on:
schedule:
- cron: '0 0 * * *'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Webhook Action
uses: joelwmale/webhook-action@1.0.0
env:
data: ''
WEBHOOK_URL: ${{ secrets.NETLIFY_NIGHTLY_DEPLOY_URL }}

0 comments on commit 0368416

Please sign in to comment.