Skip to content

Commit

Permalink
Update deploy action (#2029)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Oct 13, 2023
1 parent f5a87d8 commit a84851c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pr-deploy-and-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'

0 comments on commit a84851c

Please sign in to comment.