Skip to content

weekly deploy

weekly deploy #145

Workflow file for this run

name: "weekly deploy"
on:
push:
branches:
- main
schedule:
# friday 08:00, scheduler has delay
- cron: "59 23 * * 4"
- cron: "12 00 * * 5"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update
run: |
date "+%Y-%m-%d %H:%M:%S" >> actions.txt
today=`date +"%Y-%m-%d"`
git config user.name github-actions
git config user.email [email protected]
git pull
git add .
git commit -m "[${today}] done"
git push