Skip to content

Merge pull request #467 from openameba/renovate/markdown-it-anchor-9.x #317

Merge pull request #467 from openameba/renovate/markdown-it-anchor-9.x

Merge pull request #467 from openameba/renovate/markdown-it-anchor-9.x #317

Workflow file for this run

name: build deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
- run: npm ci
- run: npm run build
- name: Create CNAME file to apply custom domain
run: echo 'a11y-guidelines.ameba.design' > public/CNAME
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3
with:
path: public
deploy:
needs:
- build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v4
id: deployment