diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 60d75dbc54..770921c96c 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -4,14 +4,8 @@ on: push: branches: - master - - pages-test workflow_dispatch: -permissions: - contents: read - pages: write - id-token: write - concurrency: group: "pages" cancel-in-progress: false @@ -36,6 +30,7 @@ jobs: build: runs-on: ubuntu-latest + steps: - name: Checkout uses: actions/checkout@v3 @@ -50,20 +45,41 @@ jobs: with: source: docs/ destination: docs/_site/ - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + + - name: Upload Artifact + uses: actions/upload-artifact@v3 with: + name: jekyll-site path: docs/_site/ + retention-days: 1 deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest needs: [build] + environment: + name: netlify + url: ${{ steps.deployment.outputs.deploy-url }} + steps: - - name: Deploy to GitHub Pages + - name: Download Artifacts + uses: actions/download-artifact@v3 + with: + name: jekyll-site + path: _site/ + + - name: Deploy to Netlify id: deployment - uses: actions/deploy-pages@v2 + uses: nwtgck/actions-netlify@v2 + with: + publish-dir: _site/ + production-branch: master + production-deploy: true + deploy-message: ${{ github.event.head_commit.message }} + enable-pull-request-comment: false + enable-commit-comment: false + enable-commit-status: true + env: + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + timeout-minutes: 1 diff --git a/docs/wiki/functions/index.md b/docs/wiki/functions/index.md index 49b0adc166..17276c202b 100644 --- a/docs/wiki/functions/index.md +++ b/docs/wiki/functions/index.md @@ -17,7 +17,6 @@ parent: wiki

Functions

Public API functions for use by mission makers and other mods to interface with ACE3. Backwards compatibility is supported for the following functions as much as possible.

-

Test Deployment!