Skip to content

Update Subscribes #4745

Update Subscribes

Update Subscribes #4745

Workflow file for this run

name: Update Subscribes
on:
workflow_dispatch:
schedule:
- cron: '0 */3 * * *'
jobs:
Update:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Timezone
run: sudo timedatectl set-timezone 'Asia/Shanghai'
- name: Update Subscribe
run: |
bash test.sh
- name: Make Some Difference
run: |
echo "$(date '+%Y-%m-%d %H:%M:%S')" > .timestamp
- name: Commit Changes
run: |
git config core.ignorecase false
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .
git commit -m "Updated at $(date '+%Y-%m-%d %H:%M:%S')"
git push