Skip to content

Update get_discussions.yml #28

Update get_discussions.yml

Update get_discussions.yml #28

Workflow file for this run

name: Deploy to Pages
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download moj theme
run: wget https://raw.githubusercontent.com/ministryofjustice/marp-moj-theme/main/themes/moj.css
- name: Copy slides
run: cp -r ./slides ./build
- name: Rename README.md to index.md
run: find ./build -type f -name "README.md" -execdir mv {} index.md \;
- name: Marp Build
run: npx @marp-team/marp-cli@latest ./build --html --theme moj.css
- name: Copy tech radar
run: cp -r ./tech_radar/. ./build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'build/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4