Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Cristina de Carvalho committed Nov 16, 2023
1 parent 936520b commit b9d8926
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push-to-external-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
id: branch
run: |
if [ "${{ github.event_name }}" == "pull_request" ] && [ "${{ github.event.action }}" == "opened" ]; then
pr_number=$(echo "${{ github.event.number }}")
echo "{branch}={${pr_number}-preview}" >> $GITHUB_OUTPUT
pr_number="${{ github.event.number }}"
echo "branch=${pr_number}-preview" >> $GITHUB_OUTPUT
else
echo "{branch}={main}" >> $GITHUB_OUTPUT
echo "branch=main" >> $GITHUB_OUTPUT
fi
- name: Publish to external repository
Expand Down

0 comments on commit b9d8926

Please sign in to comment.