Skip to content

Nightly Cron

Nightly Cron #582

Workflow file for this run

name: Nightly Cron
on:
schedule:
- cron: 0 13 * * *
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/github-script@0.9.0
name: Create Deployment
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
script: |
await github.repos.createDeployment({
...context.repo,
ref: context.ref.slice(11),
});