Skip to content

GitHub Actions integration for Cron management

We have support for Cron management baked into GitHub Actions.

See the example below for implementation details.

name: deploy-dev
on:
  push:
    branches: [main]
env:
  SKPR_USERNAME: ${{ secrets.SKPR_USERNAME }}
  SKPR_PASSWORD: ${{ secrets.SKPR_PASSWORD }}

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Code
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Skpr Deploy
        uses: skpr/gh-workflows/.github/workflows/deploy.yml@main
        with:
          env: dev
          suspend_cron: true