Releases: shipyardapp/shipyard-actions
Releases · shipyardapp/shipyard-actions
Shipyard Actions - v1.0.0
This action supports both triggering and upserting fleets, enabling dynamic and automated deployments in Shipyard directly from GitHub Actions.
Key Features:
- Trigger Fleet: Initiate a fleet run with optional parameter overrides. The action can be configured to fail if the fleet run results in an error, or it can simply start the fleet run without waiting for the result.
- Upsert Fleet: Create or update fleet configurations using YAML files
Usage
on: [push]
jobs:
trigger-fleet-job:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Trigger Fleet
uses: shipyardapp/shipyard-actions/trigger-fleet@v1 # Uses the latest v1.x.x release
with:
org_id: ${{ secrets.ORGANIZATION_ID }}
project_id: ${{ secrets.PROJECT_ID }}
fleet_id: ${{ secrets.FLEET_ID }}
overrides: '{
"vessel_overrides": [
{
"name": "example-vessel-name",
"environment_variable_overrides": {
"EXAMPLE_ENV_VAR": "example-value"
}
}
]
}'
shipyard_api_key: ${{ secrets.SHIPYARD_API_KEY }}
wait_for_run: 'true'
wait_time: '10'
upsert-fleet-job:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Upsert Fleet
uses: shipyardapp/shipyard-actions/upsert-fleet@v1 # Uses the latest v1.x.x release
with:
org_id: ${{ secrets.ORGANIZATION_ID }}
project_id: ${{ secrets.PROJECT_ID }}
yaml_path: 'path/to/your/yaml/file.yaml'
shipyard_api_key: ${{ secrets.SHIPYARD_API_KEY }}
## What's Changed
* Jr/integ 450 create GitHub action trigger fleet by @johnathan-rodriguez in https://github.com/shipyardapp/shipyard-actions/pull/1
## New Contributors
* @johnathan-rodriguez made their first contribution in https://github.com/shipyardapp/shipyard-actions/pull/1
**Full Changelog**: https://github.com/shipyardapp/shipyard-actions/commits/v1.0.0