Merge alpha to main #74
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: Move readme | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '**.md' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.PUSH_KEY }} | |
- name: Move the readme file | |
run: ./generate_readme.sh | |
- name: Commit and push changes | |
run: | | |
git config user.name "cyrite" | |
git config user.email "[email protected]" | |
git diff --quiet && git diff --staged --quiet || git commit -am "Automatically updating README.md" | |
git push |