This repository has been archived by the owner on May 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from azrod/devel
ADD new doc and Breaking change config file format
- Loading branch information
Showing
21 changed files
with
609 additions
and
124 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,25 @@ | ||
--- | ||
name: build on push dev | ||
|
||
on: | ||
push: | ||
branches: | ||
- "devel" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set image tag | ||
run: | | ||
TAG="dev" | ||
echo "TAG=${TAG}" >> $GITHUB_ENV | ||
- name: create and push an image | ||
run: > | ||
buildah unshare bash ./build.sh | ||
${{ env.TAG }} | ||
${{ secrets.REGISTRY_USERNAME }} | ||
${{ secrets.REGISTRY_PASSWORD }} |
This file was deleted.
Oops, something went wrong.
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,38 @@ | ||
--- | ||
name: build on release | ||
|
||
on: | ||
release: | ||
types: # This configuration does not affect the page_build event above | ||
- created | ||
|
||
jobs: | ||
page: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.x | ||
- run: pip install mkdocs-material | ||
|
||
- run: mkdocs gh-deploy --force | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Get latest release version number | ||
id: get_version | ||
uses: battila7/get-version-action@v2 | ||
- name: Set image tag | ||
run: | | ||
TAG="${{ steps.get_version.outputs.version }}" | ||
echo "TAG=${TAG}" >> $GITHUB_ENV | ||
- name: create and push an image | ||
run: > | ||
buildah unshare bash ./build.sh | ||
${{ env.TAG }} | ||
${{ secrets.REGISTRY_USERNAME }} | ||
${{ secrets.REGISTRY_PASSWORD }} |
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.