Skip to content

Add dns clustering and upgrade deps #52

Add dns clustering and upgrade deps

Add dns clustering and upgrade deps #52

Workflow file for this run

name: Deploy to Fly
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: 🎙 Discord notification 1/3
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "Mave-metrics release started ⏳"
- name: 🛑 Cancel previous runs
uses: styfle/[email protected]
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: 🔑 Install Fly cli
uses: superfly/flyctl-actions/setup-flyctl@master
- name: 🚀 Build & deploy to Fly
run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: 🎁 Bump version and push tag
id: release
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
RELEASE_BRANCHES: main
DEFAULT_BUMP: patch
- name: 🎙 Discord notification 2/3
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "Mave-metrics ${{ steps.release.outputs.new_tag }} has been deployed 🚀"
- name: 🎙 Discord notification 3/3
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master