-
Notifications
You must be signed in to change notification settings - Fork 290
31 lines (28 loc) · 1.15 KB
/
Copy pathmain.yml
File metadata and controls
31 lines (28 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This workflow will be triggered on a push to the 'main' branch automatically or when called manually.
# Upon running this workflow, the website will be built and deployed to the dev instance.
name: Build and Deploy Dev Website
on:
# Runs on pushes to the 'main' branch
push:
branches: [main]
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build_and_deploy_dev:
if: github.repository == 'ArmDeveloperEcosystem/arm-learning-paths'
name: Build and Deploy Dev
uses: ./.github/workflows/deploy.yml
permissions:
id-token: write
contents: read
with:
target: dev
aws-region: us-east-1
deploy-role-arn: arn:aws:iam::688080325088:role/Proj-GHA-arm-learning-paths-dev
secrets:
HUGO_LLM_API: ${{ secrets.HUGO_LLM_API }}
HUGO_RAG_API: ${{ secrets.HUGO_RAG_API }}
HUGO_AUDIO_API: ${{ secrets.HUGO_AUDIO_API }}
HUGO_PHI_ONNX_LLM_API: ${{ secrets.HUGO_PHI_ONNX_LLM_API }}
HUGO_DEV_PROG_SIGNIUP_FORM_MUNCHKIN_ID: ${{ secrets.HUGO_DEV_PROG_SIGNIUP_FORM_MUNCHKIN_ID }}
HUGO_FORM_ID_FOR_PROGRAM_SIGNUP: ${{ secrets.HUGO_FORM_ID_FOR_PROGRAM_SIGNUP }}