Skip to content

Commit

Permalink
Generation of pages was moved to publish phase
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Fernandez Duque authored and Jose Fernandez Duque committed Jan 5, 2023
1 parent 87c7849 commit ede1d50
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,4 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Building with Maven
run: mvn clean install -DVERSION=1.0 -DSLEEPTEST=3 -DAGENT_LIST=1,2 -DVARNAME=foo -DWAIT=1 -DPOSTGRES_HOST=localhost -DMYSQL_HOST=localhost -DCLICKHOUSE_HOST=localhost -DREST_SERVER_HOST=localhost -DGRAPHQL_SERVER_HOST=localhost -DDEMO_SITE_HOST=demo-site:4567 -DSELENIUM_GRID=http://localhost:4444/wd/hub -DZOOKEEPER_HOST=localhost -DSCHEMA_REGISTRY_HOST=localhost

- name: Publish pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: target/documentation
run: mvn clean install -DVERSION=1.0 -DSLEEPTEST=3 -DAGENT_LIST=1,2 -DVARNAME=foo -DWAIT=1 -DPOSTGRES_HOST=localhost -DMYSQL_HOST=localhost -DCLICKHOUSE_HOST=localhost -DREST_SERVER_HOST=localhost -DGRAPHQL_SERVER_HOST=localhost -DDEMO_SITE_HOST=demo-site:4567 -DSELENIUM_GRID=http://localhost:4444/wd/hub -DZOOKEEPER_HOST=localhost -DSCHEMA_REGISTRY_HOST=localhost
9 changes: 9 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,12 @@ jobs:
MAVEN_USERNAME: jose.fernandez
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Performing a dry-run to generate pages
run: mvn clean verify -Dcucumber.execution.dry-run=true

- name: Publish pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: target/documentation

0 comments on commit ede1d50

Please sign in to comment.