-
Notifications
You must be signed in to change notification settings - Fork 45
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
Showing
1 changed file
with
6 additions
and
6 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 |
---|---|---|
|
@@ -48,15 +48,15 @@ jobs: | |
path: 'public' | ||
destination: 'docs-test.viam.dev/${{ github.event.pull_request.head.sha }}' | ||
|
||
- name: Copy generated site to ANOTHER GCS bucket for testing | ||
uses: 'google-github-actions/upload-cloud-storage@v0' | ||
with: | ||
path: 'public' | ||
destination: 'docs-test.viam.dev/${{ github.event.number }}' | ||
|
||
- name: Comment on PR with link to rendered site | ||
uses: marocchino/[email protected] | ||
with: | ||
recreate: true | ||
message: 'You can view a rendered version of the docs from this PR at https://docs-test.viam.dev/${{ github.event.pull_request.head.sha }}/public' | ||
GITHUB_TOKEN: ${{ secrets.PR_TOKEN }} | ||
|
||
- name: 'Set up Cloud SDK' | ||
uses: 'google-github-actions/setup-gcloud@v0' | ||
|
||
- name: 'Use gcloud CLI' | ||
run: 'gsutil -m rsync -R -d public gs://docs-test.viam.dev/${{ github.event.number }}' |