mirror of
https://github.com/alerta/alerta.git
synced 2025-01-24 17:29:39 +00:00
20 lines
454 B
YAML
20 lines
454 B
YAML
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [ master, release/* ]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: superfly/flyctl-actions/setup-flyctl@master
|
|
- run: flyctl deploy --remote-only --app alerta-api
|
|
env:
|
|
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
|
- uses: act10ns/slack@v2
|
|
with:
|
|
status: ${{ job.status }}
|
|
steps: ${{ toJson(steps) }}
|