Skip to content

Commit

Permalink
reuse workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
haitch committed Jul 24, 2024
1 parent ae91f71 commit 9902ecc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/PRTest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Deploy AKS LTS Prow PRTest
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
deploy-aks-lts-prow-PRTest:
uses: .github/workflows/deploy-lts-prow.yml
with:
deployEnv: PRTest
10 changes: 6 additions & 4 deletions .github/workflows/deploy-lts-prow.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: Deploy AKS LTS Prow
on:
push:
branches: [ main ]
workflow_dispatch:
workflow_call:
inputs:
deployEnv:
required: true # Specifies that this input is mandatory
type: string # Specifies the type of the input
permissions:
id-token: write
contents: read
jobs:
Deploy_AKS_LTS_Prow:
runs-on: ubuntu-latest
environment: PRTest
environment: ${{ vars.deployEnv }
env:
GITHUB_APP_ID: ${{ vars.APP_ID }}
GITHUB_ORG: ${{ vars.ORG }}
Expand Down

0 comments on commit 9902ecc

Please sign in to comment.