Skip to content

Commit

Permalink
fix: update deploy.yml to correctly identify develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
davitJabushanuri committed Mar 8, 2024
1 parent b37d81d commit b0c9dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: superfly/flyctl-actions/setup-flyctl@master

- name: Deploy Staging
if: ${{ github.ref == 'develop' }}
if: ${{ github.ref == 'refs/heads/develop' }}
run: flyctl deploy --remote-only --build-arg NEXT_PUBLIC_SOCKET_URL=${{ secrets.NEXT_PUBLIC_SOCKET_URL }} --build-arg NEXT_PUBLIC_SUPABASE_URL=${{secrets.NEXT_PUBLIC_SUPABASE_URL}} --build-arg NEXT_PUBLIC_SUPABASE_ANON_KEY=${{secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY}} --app ${{ steps.app_name.outputs.value }}-staging
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
Expand Down

0 comments on commit b0c9dc7

Please sign in to comment.