mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01:00 
			
		
		
		
	chore: fix most of aloisklink reviews
This commit is contained in:
		
							
								
								
									
										30
									
								
								.github/gh-pages-publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										30
									
								
								.github/gh-pages-publish.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,30 +0,0 @@
 | 
			
		||||
name: Build and Deploy Docs
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - master
 | 
			
		||||
permissions:
 | 
			
		||||
  contents: write
 | 
			
		||||
jobs:
 | 
			
		||||
  build-and-deploy:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout 🛎️
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
 | 
			
		||||
      - name: Install pnpm
 | 
			
		||||
        uses: pnpm/action-setup@v2.2.4
 | 
			
		||||
 | 
			
		||||
      - name: Install deps
 | 
			
		||||
        run: pnpm install
 | 
			
		||||
 | 
			
		||||
      - name: Install and Build 🔧
 | 
			
		||||
        run: |
 | 
			
		||||
          cd ./packages/mermaid
 | 
			
		||||
          pnpm docs:build:vitepress
 | 
			
		||||
 | 
			
		||||
      - name: Deploy 🚀📕
 | 
			
		||||
        uses: JamesIves/github-pages-deploy-action@v4.3.3
 | 
			
		||||
        with:
 | 
			
		||||
          branch: gh-pages
 | 
			
		||||
          folder: packages/mermaid/src/vitepress/.vitepress/dist
 | 
			
		||||
							
								
								
									
										3
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							@@ -39,4 +39,5 @@ jobs:
 | 
			
		||||
        run: pnpm run lint
 | 
			
		||||
 | 
			
		||||
      - name: Verify Docs
 | 
			
		||||
        run: cd packages/mermaid && pnpm docs:verify
 | 
			
		||||
        working-directory: ./packages/mermaid
 | 
			
		||||
        run: pnpm run docs:verify
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user