Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
robbymilo committed Nov 12, 2024
1 parent 4f058a8 commit 3fd6b91
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: grafana/writers-toolkit/deploy-preview@robbymilo/deploy-preview
- uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7
id: gcloud-auth-cloud-run
with:
sha: ${{ inputs.sha }}
branch: ${{ inputs.branch }}
event_number: ${{ inputs.event_number }}
title: ${{ inputs.title }}
repo: ${{ inputs.repo }}
website_directory: ${{ inputs.website_directory }}
token_format: access_token
workload_identity_provider: "projects/304398677251/locations/global/workloadIdentityPools/github/providers/github-provider"
service_account: "github-docs-cloud-run-dev@grafanalabs-workload-identity.iam.gserviceaccount.com"
create_credentials_file: false
- name: Deploy to Cloud Run
uses: "google-github-actions/[email protected]"
if: github.event.action != 'closed'
id: deploy
with:
image: us-docker.pkg.dev/grafanalabs-dev/docker-website-dev/website:4d75d79656f3b200ae94415cd645a63648f9f4cf
service: deploy-preview-website-22384-1
project_id: grafanalabs-dev
region: us-south1
flags: --port=80 --ingress=all --allow-unauthenticated

0 comments on commit 3fd6b91

Please sign in to comment.