diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a9684e7..171c6299 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file + folder: docs