-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ef58a45
commit 5b9dd4e
Showing
21 changed files
with
212 additions
and
192 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Sync doc assets | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
sync-doc-assets: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Run test | ||
uses: tj-actions/remark@v1.5 | ||
|
||
- name: Verify Changed files | ||
uses: tj-actions/verify-changed-files@v6 | ||
id: verify_changed_files | ||
with: | ||
files: | | ||
README.md | ||
- name: README.md changed | ||
if: steps.verify_changed_files.outputs.files_changed == 'true' | ||
run: | | ||
echo "README.md has uncommited changes" | ||
exit 1 | ||
- name: Create Pull Request | ||
if: failure() | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
base: "main" | ||
title: "Updated README.md" | ||
branch: "chore/update-readme" | ||
commit-message: "Updated README.md" | ||
body: "Updated README.md" | ||
token: ${{ secrets.PAT_TOKEN }} | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.6.x' | ||
|
||
- name: Upgrade pip | ||
run: | | ||
pip install -U pip | ||
- name: Install dependencies | ||
run: make install-docs | ||
|
||
- name: Deploy to github pages | ||
run: | | ||
make github-pages |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,3 +112,5 @@ ENV/ | |
*.db | ||
|
||
*.sqlite3 | ||
|
||
site/ |
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
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
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
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
Oops, something went wrong.