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