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 d8fbc68 commit fb7dd7f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/all-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,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

0 comments on commit fb7dd7f

Please sign in to comment.