Updated apache configurator #65
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push events for main | |
push: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
submodules: true | |
- name: Using en as default | |
run: cp -a ./en/. ./ | |
- name: Publish to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./ | |
htmlChecks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
submodules: true | |
- name: Using en as default | |
run: cp -a ./en/. ./ | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
- name: Install html-proofer | |
run: | | |
gem install html-proofer | |
- name: Cache HTMLProofer | |
id: cache-htmlproofer | |
uses: actions/cache@v3 | |
with: | |
path: tmp/.htmlproofer | |
key: ${{ runner.os }}-htmlproofer | |
# options : https://github.com/gjtorikian/html-proofer#configuration | |
# https://github.com/gjtorikian/html-proofer/blob/main/bin/htmlproofer | |
- name: Executing html-proofer | |
run: | | |
htmlproofer ./ --ignore-status-codes "999" --allow_missing_href true --ignore-urls "/glennkerbiriou.yj.fr/,/https://www.researchgate.net/profile/Pascal_Grittmann/publication/334433762_Optimal_multiple_importance_sampling/links/5d2c695da6fdcc2462e12f96/Optimal-multiple-importance-sampling.pdf/" |