Update env vars.

This commit is contained in:
Mark Paluch
2024-12-06 09:48:12 +01:00
parent b86fc039af
commit 2a5e3eb568

View File

@@ -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