Skip to content

Commit

Permalink
add ref name
Browse files Browse the repository at this point in the history
  • Loading branch information
ayinloya committed Dec 16, 2024
1 parent ecadce6 commit 2374001
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
name: deploy-preview
on:
workflow_dispatch:
inputs:
ref_name:
description: 'Branch name'
required: true
default: 'main'
workflow_call:
pull_request:
types:
Expand Down Expand Up @@ -111,3 +105,5 @@ jobs:
share-preview-url:
needs: [full-stack]
uses: ./.github/workflows/share-preview-url.yml
with:
ref_name: ${{ github.ref_name }}

0 comments on commit 2374001

Please sign in to comment.