docs: fix copyright #55
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: Deploy docs | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- '**' | |
paths: | |
- '.github/workflows/ci_docs.yml' | |
- 'projects/docs/**' | |
concurrency: | |
group: deploy-docs-group-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ci_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: latest | |
registry-url: https://registry.npmjs.org/ | |
cache: npm | |
cache-dependency-path: projects/docs/package-lock.json | |
- name: Install latest npm | |
run: npm install -g npm@latest | |
- name: Build docs | |
working-directory: projects/docs | |
run: | | |
npm clean-install --engine-strict | |
npm run build | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }} | |
publish_dir: ./projects/docs/build | |
user_name: dsi-hug-bot | |
user_email: dsi-hug-github@hcuge.ch |