jbranchaud is testing scheduled GitHub Actions π #174
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scheduled Actions Demo | |
run-name: ${{ github.actor }} is testing scheduled GitHub Actions π | |
on: | |
schedule: | |
- cron: '0 14-23 * * 1-5' | |
- cron: '30 14-23 * * 1-5' | |
jobs: | |
Scheduled-GitHub-Actions: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "π The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- run: echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- run: node scheduled-script.js | |
- run: echo "π This job's status is ${{ job.status }}." |