GitHub Action
Altostra Push and Deploy
v1.0.0
Latest version
Altostra Push and Deploy
Altostra Push and Deploy
Deploy an Altostra project
Installation
Copy and paste the following snippet into your .yml file.
- name: Altostra Push and Deploy
uses: altostra/push-deploy-action@v1.0.0
About
Use this action to deploy Altostra projects. An Altostra image is automatically created for the project, or you can provide one.
See also
Usage
Inputs
Following inputs can be used as step.with keys
Name | Type | Required | Description |
---|---|---|---|
env-name | string | Yes | The environment to which to deploy |
instance-name | string | Yes | The instance name to deploy |
image-name | string | No | Optional. The image name (i.e: 1.0.0, v2.4.1, alpha, dev, test, ...) |
Example usage
on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: A basic Altostra job
steps:
- uses: actions/checkout@v2
- id: Login
uses: altostra/login-action@v1
with:
api-token: "${{ secrets.ALTO_API_TOKEN }}"
- id: Push-Deploy
uses: altostra/push-deploy-action@v1
with:
env-name: Production
instance-name: githubTest