GitHub Action
Altostra Login
v1.0.0
Latest version
Altostra Login
Altostra Login
Log in to Altostra account
Installation
Copy and paste the following snippet into your .yml file.
- name: Altostra Login
uses: altostra/login-action@v1.0.0
About
Use this Action to log into your Altostra account and store credentials for later use with other Altostra Actions.
See also
Usage
Inputs
Following inputs can be used as step.with keys
Name | Type | Required | Description |
---|---|---|---|
api-token | string | Yes | Your Altostra API token from Altostra settings. |
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