-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor of actions to add docs * no more gh-pages submodule
- Loading branch information
Showing
12 changed files
with
160 additions
and
165 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,42 @@ | ||
name: "Build: Documentation" | ||
|
||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
|
||
jobs: | ||
|
||
build-documentation: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: true | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install Dependencies | ||
run: | | ||
sudo apt-get install make pandoc | ||
pip install tox tox-gh-actions | ||
- name: Generate Documentation | ||
run: | | ||
make docs | ||
- name: Store Documentation | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: | ||
build/sphinx/dirhtml | ||
|
||
|
||
# The end. |
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,42 @@ | ||
name: "Trigger: on Push/PR" | ||
|
||
|
||
on: | ||
workflow_dispatch: | ||
|
||
push: | ||
branches: | ||
- master | ||
ignore-paths: | ||
- 'docs/**' | ||
- 'examples/**' | ||
- 'tools/**' | ||
paths: | ||
- 'setup.cfg' | ||
- '**/*.py' | ||
- '**/*.pyi' | ||
- '.github/workflows/run_bandit.yml' | ||
- '.github/workflows/run_tests.yml' | ||
|
||
pull_request: | ||
ignore-paths: | ||
- 'docs/**' | ||
- 'examples/**' | ||
- 'tools/**' | ||
paths: | ||
- 'setup.cfg' | ||
- '**/*.py' | ||
- '**/*.pyi' | ||
- '.github/workflows/run_bandit.yml' | ||
- '.github/workflows/run_tests.yml' | ||
|
||
|
||
jobs: | ||
run-bandit: | ||
uses: ./.github/workflows/run_bandit.yml | ||
|
||
run-tests: | ||
uses: ./.github/workflows/run_tests.yml | ||
|
||
|
||
# The end. |
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 |
---|---|---|
@@ -1,13 +1,8 @@ | ||
# Github Action definition for creating a mastodon release for this | ||
# project. | ||
|
||
|
||
name: Announce Release | ||
name: "Run: Announcement" | ||
|
||
|
||
on: | ||
workflow_call: | ||
# shame github actions parses yaml with anchors disabled | ||
inputs: | ||
version: | ||
description: package version to announce | ||
|
@@ -43,7 +38,6 @@ on: | |
|
||
|
||
jobs: | ||
|
||
announce: | ||
name: Announce release to @[email protected] | ||
runs-on: ubuntu-latest | ||
|
@@ -56,12 +50,16 @@ jobs: | |
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }} | ||
|
||
message: "\ | ||
Version ${{ inputs.version }} of koji-smoky-dingo was | ||
koji-smoky-dingo ${{ inputs.version }} was | ||
released on ${{ inputs.date }} | ||
View the release on GitHub: | ||
https://github.com/obriencj/koji-smoky-dingo/releases/tag/\ | ||
${{ inputs.ref }} | ||
#koji #kojismokydingo" | ||
|
||
|
||
|
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 |
---|---|---|
@@ -1,6 +0,0 @@ | ||
[submodule "gh-pages"] | ||
path = gh-pages | ||
url = https://github.com/obriencj/koji-smoky-dingo.git | ||
# pushurl = [email protected]:obriencj/koji-smoky-dingo.git | ||
branch = gh-pages | ||
|
||
Oops, something went wrong.