Skip to content

Github Sosad Checkin #532

Github Sosad Checkin

Github Sosad Checkin #532

Workflow file for this run

# Change this to re-enable the workflow
name: Github Sosad Checkin
on:
push:
branches:
- master
schedule:
- cron: "0 1 * * *"
workflow_dispatch: # enable manual
jobs:
build:
runs-on: ubuntu-latest
#if: github.event.repository.owner.id == github.event.sender.id
# https://p3terx.com/archives/github-actions-manual-trigger.html
steps:
- name: Checkout codes
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
- name: Install dependencies
run: npm install
- run: node index.js
env:
botToken: ${{ secrets.botToken }}
chatID: ${{ secrets.chatID }}
sosad_cookie: ${{ secrets.sosad_cookie }}