Skip to content

Github Action with a cronjob trigger #187

Github Action with a cronjob trigger

Github Action with a cronjob trigger #187

Workflow file for this run

name: Github Action with a cronjob trigger
on:
schedule:
- cron: "0 0 * * *"
jobs:
main-job:
name: Main Job
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fetch
run: bash dev.sh
- name: Debug
run: du -hs output/raw.txt; du -hs unique.txt; tree ..
- name: Update Release
uses: softprops/action-gh-release@v2
with:
name: ${{ steps.date.outputs.date }}
tag_name: ${{ github.ref_name }}
files: unique.txt
keepalive-job:
name: Keepalive Workflow
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v2