Auto evaluation checklist android (#580) #419
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 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@v3 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- 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 |