Skip to content

Deployment action

Deployment action #1

Workflow file for this run

name: Deploy Jersey documentation and apidocs
on:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Deployment job
deploy:

Check failure on line 20 in .github/workflows/build-master.yml

View workflow run for this annotation

GitHub Actions / Deploy Jersey documentation and apidocs

Invalid workflow file

The workflow is not valid. .github/workflows/build-master.yml (Line: 20, Col: 3): The workflow must contain at least one job with no dependencies.
environment:
name: github-pages
url: "https://eclipse-ee4j.github.io/jersey.github.io"
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4