Skip to content

core 20.1.8

core 20.1.8 #24

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: cd stable && flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_STABLE }}
- if: failure()
uses: slackapi/[email protected]
with:
channel-id: filecoin-station-incidents
payload: |
{
"text": "Deployment of `${{ github.event.repository.name }}` failed",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":warning: *<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Deployment of `${{ github.event.repository.name }}` failed>*"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}