Skip to content

Commit

Permalink
ci: Deploy Docs to different url
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyhale committed Sep 26, 2024
1 parent 2f69fc1 commit 8fe17ed
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,18 @@ jobs:
run: |
npm ci
npm run build
npx typedoc --entryPoints ./src/index.ts --out docs --exclude "**/node_modules/**"
cd example
/usr/local/bin/entrypoint.sh WonderlandEditor --windowless --package --project ./SpatialAudioLab.wlp --credentials "$WLE_CREDENTIALS"
cd ..
npx typedoc --entryPoints ./src/index.ts --out example/deploy/docs --exclude "**/node_modules/**"
env:
WLE_CREDENTIALS: ${{ secrets.WLE_CREDENTIALS }}
- name: Gzip-Project
- name: Gzip
run: gzip -k ./example/deploy/*.*
- name: Upload project artifact
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./example/deploy
- name: Gzip-Docs
run: gzip -k ./docs/*.*
- name: Upload docs artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./docs

deploy-pages:
permissions:
Expand All @@ -47,7 +41,5 @@ jobs:
runs-on: ubuntu-latest
#if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) == github.ref }}
steps:
- name: Deploy Project to GitHub Pages
uses: actions/deploy-pages@v2
- name: Deploy Docs to GitHub Pages
uses: actions/deploy-pages@v2
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2

0 comments on commit 8fe17ed

Please sign in to comment.