From d85705b721c4d6b8ff324e2b14c88ffab400e5de Mon Sep 17 00:00:00 2001 From: Sami Ekblad Date: Wed, 10 Jul 2024 14:38:00 +0300 Subject: [PATCH] Deploy ollama branch instead --- .github/workflows/deploy.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cbdc45e..a4bbab1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,5 +1,8 @@ name: Fly Deploy -on: [push] +on: + push: + branches: + - 'ollama' env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} jobs: @@ -7,6 +10,8 @@ jobs: name: Deploy app runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + with: + ref: ollama - uses: superfly/flyctl-actions/setup-flyctl@master - run: flyctl deploy