Skip to content

Commit 1080e6a

Browse files
committed
add demo deploy action
1 parent 58363ab commit 1080e6a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/deploy-demo.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Deploy Demo
2+
3+
on:
4+
push:
5+
tags: ["v*.*.*"]
6+
workflow_dispatch:
7+
8+
jobs:
9+
deploy-demo:
10+
uses: ./.github/workflows/_gcp-deploy.yml
11+
secrets: inherit
12+
permissions:
13+
contents: 'read'
14+
# Requird for OIDC auth with GCP.
15+
# @see: https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/about-security-hardening-with-openid-connect#adding-permissions-settings
16+
id-token: 'write'
17+
with:
18+
environment: demo

0 commit comments

Comments
 (0)