feat: changing readme & updating landing page (#74) #30
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: Fix formatting | |
on: | |
push: | |
jobs: | |
fix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install | |
run: yarn --frozen-lockfile | |
- name: Fix all files | |
run: yarn fix | |
- name: Commit changes | |
run: | | |
FILE_CHANGED=$(git diff) | |
if [ ! -z "${FILE_CHANGED}" ]; then | |
git config --global user.name 'Excalidraw Bot' | |
git config --global user.email '[email protected]' | |
git add . | |
git commit -am "Auto commit: Format and cleanup" | |
git push | |
fi |