Merge branch 'master' of https://github.com/MarcOrfilaCarreras/homelab #29
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: On Push Run | |
on: | |
push: | |
branches: | |
- 'master' | |
paths-ignore: | |
- '**/README.md' | |
env: | |
DEVOPS_DIR: devops | |
jobs: | |
readme-update: | |
name: Update services in README.md | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v2 | |
with: | |
repository: marcorfilacarreras/homelab | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run script | |
run: python .github/scripts/on_push.py | |
shell: sh | |
- name: Commit report | |
run: | | |
git config --global user.name 'MarcOrfilaCarreras' | |
git config --global user.email 'marcorfilacarreras@users.noreply.github.com' | |
git commit -am "docs[action]: Update README.md" | |
git push |