Skip to content

Merge pull request #92 from uktrade/perf/faster-password-decrypt #21

Merge pull request #92 from uktrade/perf/faster-password-decrypt

Merge pull request #92 from uktrade/perf/faster-password-decrypt #21

name: Deploy docs to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: npm ci
- name: Build with Eleventy
run: npx eleventy
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2