Required Your Kuzzle PaaS username.
Required Your Kuzzle PaaS password.
Where to save the produced .npmrc file when login (default: Project root directory).
Required Your Kuzzle PaaS project name (not required if login_only
is set to true
).
Your Kuzzle PaaS project environment to target (default: main
).
The Kuzzle PaaS application name to update (default: api
).
Required The Docker image to use to perform the deploy (not required if login_only
is set to true
).
If true, only the login action will be performed (default: false
).
The amount of time in second before a deployment can be considere as a failure (default: 60
).
Allows you to perform a rollback to the previous live version of the targeted application (default: false
).
uses: kuzzleio/[email protected]
with:
username: ${{ secrets.KUZZLE_PAAS_USERNAME }}
password: ${{ secrets.KUZZLE_PAAS_PASSWORD }}
login_only: true
# You can also choose where to save the produced .npmrc
npmrc_output_dir: ./backend
uses: kuzzleio/[email protected]
with:
username: ${{ secrets.KUZZLE_PAAS_USERNAME }}
password: ${{ secrets.KUZZLE_PAAS_PASSWORD }}
project: my-project
environment: main
application: api
image: harbor.paas.kuzzle.io/my-project/main/api:my-tag
timeout: 45
NOTE: It will rollback to the previous live version of the targeted application.
uses: kuzzleio/[email protected]
with:
username: ${{ secrets.KUZZLE_PAAS_USERNAME }}
password: ${{ secrets.KUZZLE_PAAS_PASSWORD }}
project: my-project
environment: main
application: api
image: harbor.paas.kuzzle.io/my-project/main/api:my-tag
rollback: true
timeout: 90