Skip to content

Workflow file for this run

Check failure on line 1 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: deploy
name: deploy
on: [push, workflow_dispatch]
jobs:
build:
strategy:
matrix:
java: [17]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
permissions:
contents: write
steps:
- name: Checking Out the Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Validating the Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setting up Java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
java-package: jdk
- name: Setting Up the Gradle Wrapper
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Caching Dependencies
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-#{{ hashFiles('**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Export
run: ./export.sh
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v1
with:
path: "docs/"
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3