Skip to content

Commit

Permalink
ci: support workflow_call
Browse files Browse the repository at this point in the history
  • Loading branch information
netr0m committed Feb 1, 2024
1 parent d9fd473 commit 307719d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deploy-ctf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,20 @@ on:
default: ctf
description: The name of the GitHub environment to use (https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#about-environments)
type: environment

workflow_call:
inputs:
ENVIRONMENT:
default: ctf
description: The name of the GitHub environment to use (https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#about-environments)
type: string
secrets:
AZURE_CLIENT_ID:
required: true
AZURE_TENANT_ID:
required: true
AZURE_SUBSCRIPTION_ID:
required: true

permissions:
id-token: write # Required for requesting the JWT
contents: read
Expand Down

0 comments on commit 307719d

Please sign in to comment.