Skip to content

Deploy

Deploy #7

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
jobs:
deploy:
name: Deploy demo app
runs-on: ubuntu-latest
concurrency: deploy-group
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Set version
run: echo "DOGGO_VERSION=$(git describe --tags --always)" >> $GITHUB_ENV
- run: flyctl deploy --remote-only --build-arg="DOGGO_VERSION=${DOGGO_VERSION}"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}