File tree Expand file tree Collapse file tree 1 file changed +24
-8
lines changed Expand file tree Collapse file tree 1 file changed +24
-8
lines changed Original file line number Diff line number Diff line change 33name : Build and Deploy Internal Website
44
55on :
6+ pull_request :
7+ branches :
8+ - main
69 # Runs on pushes to the 'main' branch
710 push :
811 branches : [main]
1114 workflow_dispatch :
1215
1316jobs :
14- build_and_deploy_internal_existing :
15- name : Build and Deploy Internal Existing
17+ # build_and_deploy_internal_existing:
18+ # name: Build and Deploy Internal Existing
19+ # uses: ./.github/workflows/deploy.yml
20+ # permissions:
21+ # id-token: write
22+ # contents: read
23+ # with:
24+ # environment: internal
25+ # target: internal-existing
26+ # secrets:
27+ # AWS_OIDC_ROLE: ${{ secrets.AWS_OIDC_ROLE_INTERNAL }}
28+ # HUGO_LLM_API: ${{ secrets.HUGO_LLM_API }}
29+
30+ build_and_deploy_internal :
31+ name : Build and Deploy Internal
1632 uses : ./.github/workflows/deploy.yml
1733 permissions :
1834 id-token : write
1935 contents : read
2036 with :
2137 environment : internal
22- target : internal-existing
38+ target : internal
2339 secrets :
2440 AWS_OIDC_ROLE : ${{ secrets.AWS_OIDC_ROLE_INTERNAL }}
2541 HUGO_LLM_API : ${{ secrets.HUGO_LLM_API }}
2642
27- build_and_deploy_internal :
28- name : Build and Deploy Internal
43+ build_and_deploy_production :
44+ name : Build and Deploy Production
2945 uses : ./.github/workflows/deploy.yml
3046 permissions :
3147 id-token : write
3248 contents : read
3349 with :
34- environment : internal
35- target : internal
50+ environment : production
51+ target : production
3652 secrets :
37- AWS_OIDC_ROLE : ${{ secrets.AWS_OIDC_ROLE_INTERNAL }}
53+ AWS_OIDC_ROLE : ${{ secrets.AWS_OIDC_ROLE_PRODUCTION }}
3854 HUGO_LLM_API : ${{ secrets.HUGO_LLM_API }}
You can’t perform that action at this time.
0 commit comments