Skip to content

Empty Commit Every 48 Hours #42

Empty Commit Every 48 Hours

Empty Commit Every 48 Hours #42

Workflow file for this run

name: Empty Commit Every 48 Hours
on:
schedule:
- cron: "0 */48 * * *"
jobs:
empty_commit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Git
run: git config --global user.email "[email protected]" && git config --global user.name "Nayan Das"
- name: Create empty commit
run: git commit --allow-empty -m "Empty commit triggered by schedule to refresh the server"
- name: Push empty commit
uses: ad-m/[email protected]
with:
branch: main
github_token: ${{ secrets.GITHUBTOKEN }}