Skip to content

Merge pull request #3396 from jasonrandrews/review #3202

Merge pull request #3396 from jasonrandrews/review

Merge pull request #3396 from jasonrandrews/review #3202

Workflow file for this run

# 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 }}