mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Update ci.yml
This commit is contained in:
parent
fec11869a8
commit
4089448b53
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@ -26,24 +26,8 @@ jobs:
|
||||
- name: Create the docs directory locally in CI
|
||||
run: npx typedoc --out ../docs @types/*.d.ts src/*.ts src/contextmenus/*.ts src/controls/*.ts src/map/*.ts src/mission/*.ts src/other/*.ts src/panels/*.ts src/popups/*.ts src/server/*.ts src/unit/*.ts src/weapon/*.ts
|
||||
working-directory: ./client
|
||||
|
||||
deploy:
|
||||
needs: [ build_docs ]
|
||||
if: ${{ always() && !cancelled() && needs.build_docs.result == 'success' }}
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v3
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
# Upload entire repository
|
||||
path: './docs'
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
folder: docs
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user