feat: add GitVerse workflow for documentation build and deployment

This commit is contained in:
Даниил Грабарь
2026-06-18 07:05:04 +03:00
parent 16cb4dc6e7
commit de0117af94
2 changed files with 46 additions and 13 deletions
+1 -13
View File
@@ -41,18 +41,11 @@ jobs:
run: mkdocs build
working-directory: doc/lwc-doc
- name: Upload Pages artifact (GitHub)
if: github.server_url == 'https://github.com'
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: doc/lwc-doc/site/
- name: Upload Pages artifact (GitVerse)
if: github.server_url != 'https://github.com'
uses: gitverse/upload-pages-artifact@v1.0.0
with:
path: doc/lwc-doc/site/
deploy:
needs: build
runs-on: ubuntu-latest
@@ -60,9 +53,4 @@ jobs:
name: github-pages
steps:
- name: Deploy to GitHub Pages
if: github.server_url == 'https://github.com'
uses: actions/deploy-pages@v4
- name: Deploy to GitVerse Pages
if: github.server_url != 'https://github.com'
uses: gitverse/deploy-pages@v1.0.0