generated from ITProKyle/generic-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
2,541 additions
and
1,125 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
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: Publish Release | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
env: | ||
DEFAULT_PYTHON_VERSION: 3.11 | ||
|
||
jobs: | ||
build-pypi: | ||
name: Build PyPi 📦 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo (complete) | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: ITProKyle/action-setup-python@v0.4.0 | ||
with: | ||
poetry-install: false | ||
python-version: ${{ env.DEFAULT_PYTHON_VERSION }} | ||
- name: Install Poetry Plugins | ||
run: poetry self add "poetry-dynamic-versioning[plugin]" | ||
- name: Run Build | ||
run: make build | ||
- name: Upload Distribution Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: pypi-dist | ||
path: dist | ||
publish-pypi: | ||
name: Publish 📦 To PyPI | ||
needs: | ||
- build-pypi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo (complete) | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Download Distribution Artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: pypi-dist | ||
path: dist | ||
- uses: ITProKyle/action-setup-python@v0.4.0 | ||
with: | ||
poetry-install: false | ||
python-version: ${{ env.DEFAULT_PYTHON_VERSION }} | ||
- name: Install Poetry Plugins | ||
run: poetry self add "poetry-dynamic-versioning[plugin]" | ||
- name: Publish Distribution 📦 to PyPI | ||
env: | ||
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.pypi_password }} | ||
run: poetry publish |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,9 @@ name: Spell Check | |
|
||
on: push | ||
|
||
|
||
env: | ||
NODE_VERSION: '20' | ||
|
||
|
||
jobs: | ||
spell-check: | ||
runs-on: ubuntu-latest | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// open external links in new tabs | ||
$(document).ready(function () { | ||
$('a.external').attr('target', '_blank'); | ||
}); |
Oops, something went wrong.