-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bernardo-MG
committed
Feb 12, 2023
1 parent
76fc805
commit 1957e1b
Showing
3 changed files
with
41 additions
and
27 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,30 @@ | ||
name: Doc deployment | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
deploy_develop_docs: | ||
name: Deploy docs for develop | ||
uses: Bernardo-MG/github-workflow-maven/.github/workflows/deploy_site.yml@v1 | ||
with: | ||
branch: develop | ||
host: docs.bernardomg.com | ||
secrets: | ||
url: ${{ secrets.DEPLOY_DOCS_DEVELOP_SITE }} | ||
username: ${{ secrets.DEPLOY_DOCS_DEVELOP_USER }} | ||
password: ${{ secrets.DEPLOY_DOCS_DEVELOP_PASSWORD }} | ||
|
||
deploy_master_docs: | ||
name: Deploy docs for master | ||
uses: Bernardo-MG/github-workflow-maven/.github/workflows/deploy_site.yml@v1 | ||
with: | ||
branch: master | ||
host: docs.bernardomg.com | ||
secrets: | ||
url: ${{ secrets.DEPLOY_DOCS_SITE }} | ||
username: ${{ secrets.DEPLOY_DOCS_USER }} | ||
password: ${{ secrets.DEPLOY_DOCS_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,16 @@ | ||
name: Tests and docs | ||
name: Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
tests: | ||
name: Tests | ||
uses: Bernardo-MG/github-workflow/.github/workflows/maven_testing.yml@v1 | ||
|
||
deploy_develop_docs: | ||
name: Deploy development docs | ||
needs: tests | ||
uses: Bernardo-MG/github-workflow/.github/workflows/maven_deploy_site.yml@v1 | ||
tests_11: | ||
name: Tests with JDK 11 | ||
uses: Bernardo-MG/github-workflow-maven/.github/workflows/testing.yml@v1 | ||
with: | ||
branch: develop | ||
host: docs.bernardomg.com | ||
secrets: | ||
url: ${{ secrets.DEPLOY_DOCS_DEVELOP_SITE }} | ||
username: ${{ secrets.DEPLOY_DOCS_DEVELOP_USER }} | ||
password: ${{ secrets.DEPLOY_DOCS_DEVELOP_PASSWORD }} | ||
jdk: 11 | ||
|
||
deploy_docs: | ||
name: Deploy docs | ||
needs: tests | ||
uses: Bernardo-MG/github-workflow/.github/workflows/maven_deploy_site.yml@v1 | ||
tests_17: | ||
name: Tests with JDK 17 | ||
uses: Bernardo-MG/github-workflow-maven/.github/workflows/testing.yml@v1 | ||
with: | ||
branch: master | ||
host: docs.bernardomg.com | ||
secrets: | ||
url: ${{ secrets.DEPLOY_DOCS_SITE }} | ||
username: ${{ secrets.DEPLOY_DOCS_USER }} | ||
password: ${{ secrets.DEPLOY_DOCS_PASSWORD }} | ||
jdk: 17 |