diff --git a/.github/workflows/fly-deploy.yml b/.github/workflows/fly-deploy.yml new file mode 100644 index 0000000..0b4beb5 --- /dev/null +++ b/.github/workflows/fly-deploy.yml @@ -0,0 +1,18 @@ +# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/ + +name: Fly Deploy +on: + push: + branches: + - main +jobs: + deploy: + name: Deploy app + runs-on: ubuntu-latest + concurrency: deploy-group # optional: ensure only one action runs at a time + steps: + - uses: actions/checkout@v4 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} diff --git a/fly.toml b/fly.toml index 904e72b..eaedf60 100644 --- a/fly.toml +++ b/fly.toml @@ -1,9 +1,9 @@ -# fly.toml app configuration file generated for styleguide-remix-template-ancient-night-4492 on 2024-10-28T20:56:38-05:00 +# fly.toml app configuration file generated for kurocado-studio-website on 2024-12-10T13:04:06-06:00 # # See https://fly.io/docs/reference/configuration/ for information about how to use this file. # -app = 'styleguide-remix-template' +app = 'kurocado-studio-website' primary_region = 'ord' [build]