Bump for next development cycle #858
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Push | |
| on: | |
| push: | |
| branches: [ main, development ] | |
| jobs: | |
| push: | |
| name: push | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup node | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22.20.0 | |
| - name: Run Antora | |
| run: | | |
| npm i -D -E antora | |
| npx antora -v | |
| npx antora antora-playbook.yml | |
| - name: Copy landing page | |
| run: | | |
| mkdir -p $GITHUB_WORKSPACE/website/releases/latest/download | |
| cp -rf $GITHUB_WORKSPACE/build/site/* $GITHUB_WORKSPACE/website | |
| cp -rf $GITHUB_WORKSPACE/landing/* $GITHUB_WORKSPACE/website | |
| cp -rf $GITHUB_WORKSPACE/VERSION $GITHUB_WORKSPACE/website/releases/latest/download | |
| cp -rf $GITHUB_WORKSPACE/schema $GITHUB_WORKSPACE/website/schema | |
| curl -sSfL https://raw.githubusercontent.com/jreleaser/jreleaser/refs/heads/main/src/scripts/jreleaser-setup.sh -o $GITHUB_WORKSPACE/website/setup.sh | |
| touch $GITHUB_WORKSPACE/website/.nojekyll | |
| - name: Deploy to GitHub Pages | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| folder: website | |
| branch: 'gh-pages' | |
| commit-message: "[CI] Publish Documentation for ${{ github.sha }}" |