Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
Create random_commit_2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
likhonsible authored Jan 31, 2024
1 parent 9903c47 commit 509ef65
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/random_commit_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Random Commit 2

on:
schedule:
- cron: '*/5 22 * * *'
workflow_dispatch:

jobs:
commit:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Make changes
run:
echo "Random Commit made at $(date '+%Y-%m-%d %H:%M:%S')" > log.txt

- name: Commit and push if changed
run: |
git pull
git config --global user.email "[email protected]"
git config --global user.name "rNLKJA"
git add -A
git commit -m "Daily update $(date '+%Y-%m-%d %H:%M:%S')"
git push

0 comments on commit 509ef65

Please sign in to comment.