[#490] Fix some issues and add more samples for iOS with SwiftUI (#508) #381
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@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 |