Merge pull request #6616 from ministryofjustice/ip-blocking-fix-forma… #1080
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish runbooks | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ministryofjustice/tech-docs-github-pages-publisher:v3.0.2 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Compile Markdown to HTML and create artifact | |
run: | | |
cd runbooks; /scripts/deploy.sh false | |
- name: Install rsync | |
run: | | |
apk update && apk add rsync | |
which rsync | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4.7.1 | |
with: | |
token: ${{ secrets.PUBLISHING_GIT_TOKEN }} | |
git-config-name: cloud-platform-moj | |
git-config-email: platforms@digital.justice.gov.uk | |
repository-name: ministryofjustice/cloud-platform-runbooks | |
branch: gh-pages # The branch the action should deploy to. | |
folder: runbooks/docs # The folder the action should deploy. | |
clean: true | |
clean-exclude: | | |
CNAME | |
License | |
README.md |