This repository contains a GitHub Action that automates deploying Jakarta EE and MicroProfile applications to Payara Qube using the Payara Qube CLI. It lets you deploy .war files by specifying parameters like subscription ID, namespace, app name, and artifact location.
- Upload and deploy Jakarta EE and MicroProfile applications to Payara Qube
token: Required. Payara Qube CLI token. Generate by runningqube login --print-token.subscription_name: Optional. Only needed if you have multiple subscriptions.namespace: Required. Deployment namespace (e.g., testing).app_name: Optional. App name for deployment. If not specified, inferred from the WAR filename.artifact_location: Required. Path to the .war file (e.g., ./target/my-app.war).deploy: Optional. Setfalseto upload only without immediate deployment. Settrueto upload and deploy immediately in one step.qube_version: Optional. Payara Qube CLI version. Default: '2.0.0'.
uses: payara/qube-deploy@v2
with:
token: ${{ secrets.PCL_TOKEN }}
subscription_name: 'your-subscription-name'
namespace: 'testing'
app_name: 'amazing-app'
artifact_location: 'amz.war'
deploy: truePayara Qube CLI user guide: https://docs.payara.fish/cloud/docs/cli/user-guide.html