Skip to content

:dependabot: terraform(deps): Bump hashicorp/aws from 5.52.0 to 5.57.… #152

:dependabot: terraform(deps): Bump hashicorp/aws from 5.52.0 to 5.57.…

:dependabot: terraform(deps): Bump hashicorp/aws from 5.52.0 to 5.57.… #152

---
name: Build and Publish Documentation
on:
push:
branches:
- main
permissions: {}
concurrency:
group: github-pages
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
container:
image: docker.io/ministryofjustice/tech-docs-github-pages-publisher@sha256:cd3513beca3fcaf5dd34cbe81a33b3ff30337d8ada5869b40a6454c21d6f7684 # v4.0.0
permissions:
contents: read
steps:
- name: Checkout
id: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Build
id: build
run: |
/usr/local/bin/package
- name: Upload Artifact
id: upload_artifact
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: github-pages
path: artifact.tar
retention-days: 1
overwrite: true
publish:
needs: build
name: Publish
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.configure_pages.outputs.base_url }}
permissions:
contents: read
id-token: write
pages: write
steps:
- name: Configure Pages
id: configure_pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
- name: Deploy to GitHub Pages
id: deploy_pages
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5