mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-11 20:05:25 +00:00
add demo deploy action
This commit is contained in:
parent
58363abbae
commit
1080e6a5c8
1 changed files with 18 additions and 0 deletions
18
.github/workflows/deploy-demo.yml
vendored
Normal file
18
.github/workflows/deploy-demo.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: Deploy Demo
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: ["v*.*.*"]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy-demo:
|
||||
uses: ./.github/workflows/_gcp-deploy.yml
|
||||
secrets: inherit
|
||||
permissions:
|
||||
contents: 'read'
|
||||
# Requird for OIDC auth with GCP.
|
||||
# @see: https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/about-security-hardening-with-openid-connect#adding-permissions-settings
|
||||
id-token: 'write'
|
||||
with:
|
||||
environment: demo
|
||||
Loading…
Reference in a new issue