Skip to content

Merge pull request #41 from Cplhardcore/Addition-of-medkits-to-KPCF #19

Merge pull request #41 from Cplhardcore/Addition-of-medkits-to-KPCF

Merge pull request #41 from Cplhardcore/Addition-of-medkits-to-KPCF #19

name: Update Last Updated Date
on:
push:
branches:
- master
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update Last Updated Date
run: sed -i "s/last updated .*/last updated $(date +'%Y_%m_%d')/" readme.md
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "Update last updated date" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}