Rebuild website #376
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rebuild website | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * 1,4" | |
jobs: | |
add-empty-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Set email credentials | |
run: 'git config user.email "ssoundarajan@calmi2.org"' | |
- name: Set name credentials | |
run: 'git config user.name "Sanjay Soundarajan"' | |
- name: Add empty commit | |
run: "git commit -m 'release: :rocket: rebuild website' --allow-empty --no-verify" | |
- name: Push to repo | |
run: "git push origin main" |