From 4229b98cb3c52cc3c3356642f1a4ae0e5d0a622d Mon Sep 17 00:00:00 2001 From: Will Norris Date: Tue, 9 May 2023 11:20:11 -0700 Subject: [PATCH] remove deploy script for my personal instance --- .github/workflows/deploy.yml | 23 ----------------------- etc/fly.toml | 33 --------------------------------- 2 files changed, 56 deletions(-) delete mode 100644 .github/workflows/deploy.yml delete mode 100644 etc/fly.toml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 1eba4f1..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: deploy -on: - workflow_run: - workflows: [Docker] - types: [completed] - branches: [main] - workflow_dispatch: - -concurrency: - group: production - cancel-in-progress: true - -jobs: - deploy: - runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} - environment: production - steps: - - uses: actions/checkout@v3 - - uses: superfly/flyctl-actions/setup-flyctl@master - - run: flyctl -c etc/fly.toml deploy --remote-only - env: - FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} diff --git a/etc/fly.toml b/etc/fly.toml deleted file mode 100644 index 1c72df5..0000000 --- a/etc/fly.toml +++ /dev/null @@ -1,33 +0,0 @@ -# This is the Fly config for my personal imageproxy instance. -# It's probably not of much use for anyone else. - -app = "willnorris-imageproxy" - -[build] -image = "ghcr.io/willnorris/imageproxy:main" - -[env] -IMAGEPROXY_BASEURL = "https://willnorris.com/" -IMAGEPROXY_ALLOWHOSTS = "*.willnorris.com,notsoserendipitous.com,gabenorris.com,judahnorris.com" -IMAGEPROXY_CACHE = "/cache/" -IMAGEPROXY_VERBOSE = true - -[mounts] -source="willnorris_imageproxy_cache" -destination="/cache" - -[deploy] -strategy = "immediate" - -[[services]] - internal_port = 8080 - protocol = "tcp" - - [[services.ports]] - handlers = ["http"] - port = "80" - force_https = true - - [[services.ports]] - handlers = ["tls", "http"] - port = "443"