Skip to content

Download then push #209

Download then push

Download then push #209

Workflow file for this run

name: Download then push
on:
workflow_dispatch:
schedule:
- cron: '00 12 * * 3'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v4
with:
node-version: 18
- run: |
npm install
node down.js
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add ./output
git commit -a -m "Automatic commit"
- uses: ad-m/github-push-action@master