Skip to content

Merge pull request #427 from Orange-OpenSource/Maj-lien-evitement #367

Merge pull request #427 from Orange-OpenSource/Maj-lien-evitement

Merge pull request #427 from Orange-OpenSource/Maj-lien-evitement #367

Workflow file for this run

name: Publish website
on:
push:
branches:
- master
jobs:
build_and_deploy:
name: Build & deploy website
runs-on: ubuntu-latest
if: github.repository == 'Orange-OpenSource/a11y-guidelines'
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v1
with:
node-version: '14.14.0'
- name: Install dependencies
run: npm install
- name: Compile 11ty
run: npm run build:prod
- name: Deploy to GitHub Pages
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: _site
cname: a11y-guidelines.orange.com