Skip to content

Commit

Permalink
fix(documentation): deployment for doc
Browse files Browse the repository at this point in the history
  • Loading branch information
clabroche committed Feb 19, 2024
1 parent 6290ce7 commit acacca6
Show file tree
Hide file tree
Showing 66 changed files with 34 additions and 1,752 deletions.
34 changes: 34 additions & 0 deletions .github/workflow-template-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,40 @@ on:
- staging

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: "Checkout ${{ github.ref_name }}"
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'

- name: Install dependencies
run: yarn install --immutable

- name: Build
run: npm run docs:build

- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with:
path: fronts/docs/.vitepress/dist

- name: Deploy
id: deployment
uses: actions/deploy-pages@v1
publish:
runs-on: ubuntu-latest
env:
Expand Down
55 changes: 0 additions & 55 deletions .github/workflows/all-docs.yml

This file was deleted.

21 changes: 0 additions & 21 deletions fronts/docs/.vitepress/dist/404.html

This file was deleted.

Binary file not shown.
7 changes: 0 additions & 7 deletions fronts/docs/.vitepress/dist/assets/app.PWkm6YWj.js

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Loading

0 comments on commit acacca6

Please sign in to comment.