Update env vars.
This commit is contained in:
6
.github/workflows/antora-commercial-site.yml
vendored
6
.github/workflows/antora-commercial-site.yml
vendored
@@ -70,13 +70,13 @@ jobs:
|
||||
restore-keys: ${{ runner.os }}-antora-${{ github.event.inputs.module }}
|
||||
- name: Run Antora
|
||||
run: ./mvnw -B antora -Dvariant=commercial -Dspring-data.module=${{ github.event.inputs.module }}
|
||||
- name: 'Authenticate to docs.spring.vmware.com'
|
||||
- name: 'Authenticate to ${{ vars.COMMERCIAL_DOCS_HOST }}'
|
||||
uses: 'google-github-actions/auth@v2.1.0'
|
||||
with:
|
||||
credentials_json: '${{ secrets.COMMERCIAL_DOCS_GCP_BUCKET_JSON }}'
|
||||
- name: 'Publish Docs to docs.spring.vmware.com'
|
||||
- name: 'Publish Docs to ${{ vars.COMMERCIAL_DOCS_HOST }}'
|
||||
uses: 'google-github-actions/upload-cloud-storage@v2.1.0'
|
||||
with:
|
||||
path: 'target/antora/site'
|
||||
destination: 'docs.spring.vmware.com/spring-data/${{ github.event.inputs.module }}/reference'
|
||||
destination: '${{ vars.COMMERCIAL_DOCS_HOST }}/spring-data/${{ github.event.inputs.module }}/reference'
|
||||
parent: false
|
||||
|
||||
Reference in New Issue
Block a user