I’m trying to set up an action that will run once an hour but can’t seem to make it work. Here’s my config:
name: Smoke test
on:
schedule:
- cron: "0 * * * *"
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cypress run
uses: cypress-io/github-action@v2
with:
working-directory: smoke-tests
build: npm ci
env:
CYPRESS_PLATFORM_LOGIN: ${{ secrets.PLATFORM_LOGIN }}
CYPRESS_PLATFORM_PASSWORD: ${{ secrets.PLATFORM_PASSWORD }}
the workflow works with push
trigger, but can’t make it run on the schedule. What am i missing?