diff --git a/.github/workflows/runner-deploy.yml b/.github/workflows/runner-deploy.yml deleted file mode 100644 index 629b321..0000000 --- a/.github/workflows/runner-deploy.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Deploy Gitea Runner -on: - workflow_dispatch: - -jobs: - deploy-runner: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: superfly/flyctl-actions/setup-flyctl@master - - run: flyctl apps create ${{ secrets.RUNNER_APP_NAME }} || true; flyctl volumes create runner_data --size 1 -a ${{ secrets.RUNNER_APP_NAME }} || true - env: - FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} - - run: flyctl secrets set GITEA_RUNNER_REGISTRATION_TOKEN="${{ secrets.GITEA_RUNNER_REGISTRATION_TOKEN }}" -a ${{ secrets.RUNNER_APP_NAME }} - env: - FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} - - run: flyctl deploy --remote-only -a ${{ secrets.RUNNER_APP_NAME }} --config runner/fly.toml - env: - FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}