Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
332142558 authored Dec 21, 2023
1 parent 63094f9 commit b79effa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'GitHub Actions wakeup Bot'

on:
push:
schedule:
- cron: '0 0,8,12,21,23 * * *'

jobs:
bot:
runs-on: ubuntu-latest
steps:
- name: 'Checkout codes'
uses: actions/checkout@v1
- name: 'Get Wakeup'
run: bash ./wakeup.sh
- name: 'Get Date'
run: echo "REPORT_DATE=$(TZ=':Asia/Shanghai' date '+%Y-%m-%d %T')" >> $GITHUB_ENV

0 comments on commit b79effa

Please sign in to comment.