Skip to content

Merge pull request #3383 from ArmDeveloperEcosystem/main #110

Merge pull request #3383 from ArmDeveloperEcosystem/main

Merge pull request #3383 from ArmDeveloperEcosystem/main #110

Workflow file for this run

# This workflow will be triggered on a push to the 'production' branch automatically or when called manually.
# Upon running this workflow, the website will be built and deployed to the production instance.
name: Build and Deploy Production Website
on:
# Runs on pushes to the 'production' branch
push:
branches: [production]
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build_and_deploy_prod:
name: Build and Deploy Prod
uses: ./.github/workflows/deploy.yml
permissions:
id-token: write
contents: read
with:
target: prod
aws-region: us-east-1
deploy-role-arn: arn:aws:iam::084149021538:role/Proj-GHA-arm-learning-paths-prod
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 }}