Skip to content

automatic-save-robot #818

automatic-save-robot

automatic-save-robot #818

Workflow file for this run

name: automatic-save-robot
on:
schedule:
- cron: "0 0 * * *"
jobs:
bots:
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@v1
- name: "Set node"
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: "Install"
run: npm install
- name: "Run bash"
run: node main.js
- name: "Commit"
uses: EndBug/add-and-commit@v4
with:
message: "chroe: save robot"
add: "pic/*"
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}