Skip to content

Run Task

Run Task #1033

Workflow file for this run

name: Run Task
on:
workflow_dispatch:
schedule:
- cron: "*/30 * * * *"
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
- name: Running
run: |
npm cache clean --force
npm install
npm run task
env:
CHAT_ID: ${{ secrets.CHAT_ID }}
BOT_API: ${{ secrets.BOT_API }}
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update db.json
branch: main