Skip to content

Merge pull request #2 from RoboJackets/kristaps/remove-placeholder-text #20

Merge pull request #2 from RoboJackets/kristaps/remove-placeholder-text

Merge pull request #2 from RoboJackets/kristaps/remove-placeholder-text #20

Workflow file for this run

---
name: Build Main
on:
push:
branches:
- main
jobs:
build-artifact:
name: Build Artifact
uses: ./.github/workflows/build-artifact.yml
terraform-apply:
name: Build CloudFront Environment
uses: ./.github/workflows/terraform-apply.yml
cloudfront-deploy:
name: Deploy to CloudFront
uses: ./.github/workflows/cloudfront-deploy.yml
needs:
- build-artifact
- terraform-apply
with:
cloudfront_domain: ${{ needs.terraform-apply.outputs.cloudfront_domain }}
cloudfront_distribution_id: ${{ needs.terraform-apply.outputs.cloudfront_distribution_id }}
s3_bucket_name: ${{ needs.terraform-apply.outputs.s3_bucket_name }}
deploy-github-pages:
name: Deploy to GitHub Pages
runs-on: ubuntu-24.04
needs: build-artifact
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: https://bpm.robojackets.org
concurrency:
group: deploy-github-pages
cancel-in-progress: false
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4