Skip to content

This repository is about defining github action which, third party users can implement into their Jakara EE applications to deploy their applications to their setup Payara Cloud environment.

Notifications You must be signed in to change notification settings

payara/cloud-deploy

Folders and files

NameName
Last commit message
Last commit date
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 14, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 14, 2025

Repository files navigation

Payara Cloud Deployment GitHub Action

This repository contains a GitHub Action to automate the deployment of your application to Payara Cloud using the Payara Cloud CLI (PCL). The action allows you to deploy a .war file to Payara Cloud by specifying various parameters like the subscription id, namespace, app name, and artifact location.

Features

  • Upload artifacts to Payara Cloud.
  • Deploy Java applications to Payara Cloud.

Inputs

  • token: Required. The Payara Cloud CLI token. You can create a token by running pcl login --print-token and following the instructions.
  • subscription_name: Optional. Only required if your account has access to multiple subscriptions. Provide the subscription name to specify which subscription to use.
  • namespace: Required. The namespace under which your app will be deployed (e.g., your-namespace).
  • app_name: Optional. The name of the app to deploy (e.g., your-app). If not specified, it will be inferred from the WAR file name.
  • artifact_location: Required. The path to the .war file to deploy (e.g., ./target/my-app.war).
  • deploy: Optional. Set to false if the application should only be uploaded to Payara Cloud, but not deployed. Set to true to upload and deploy the application in one step.
  • pcl_version: Optional. The version of the Payara Cloud CLI to use. Default is '1.1.0'.

Example Usage

uses: payara/actions/cloud-deploy@v1
with:
    token: ${{ secrets.PCL_TOKEN }}
    subscription_name: 'your-subscription-name'
    namespace: 'your-namespace'
    app_name: 'your-app'
    artifact_location: 'your-artifact.war'
    deploy: true

About

This repository is about defining github action which, third party users can implement into their Jakara EE applications to deploy their applications to their setup Payara Cloud environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published