feat: added a visual representation of the color pallet (#56) #31
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: "pre-commit - push autofix" | |
on: | |
push: | |
branches: [main] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install pre-commit | |
run: | | |
pip install pre-commit | |
- name: Run pre-commit | |
run: | | |
pre-commit run --all-files | |
- name: Push to GitHub Pages | |
continue-on-error: true | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "chore: fixes from pre-commit" -a | |
git push origin HEAD:main |