Skip to content

schedule

schedule #9005

Workflow file for this run

name: schedule
on:
schedule:
- cron: "0 * * * *"
jobs:
build:
runs-on: ubuntu-latest
env:
TZ: Asia/Shanghai
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Install deno
uses: denoland/setup-deno@v1
- name: Run deno
run: |
git config --local user.email "[email protected]"
git config --local user.name "bot"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git pull --rebase
deno task start
deno fmt
git add .
git commit -m "🚀update by github action🚀"
git push