Skip to content

Commit

Permalink
Remove ref
Browse files Browse the repository at this point in the history
  • Loading branch information
markdoeswork committed May 9, 2024
1 parent ef71dff commit 36d2919
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nitro-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Generate branch name
id: branch_name
run: |
echo "Original branch: ${GITHUB_REF#refs/heads/}"
NEW_BRANCH="${GITHUB_REF#refs/heads/}_alpha"
echo "Original branch: ${GITHUB_REF}"
NEW_BRANCH="${GITHUB_REF}_alpha"
echo "::set-output name=branch::${NEW_BRANCH}"
- name: Create new branch in Nitro
Expand All @@ -40,7 +40,7 @@ jobs:
await github.rest.git.createRef({
owner,
repo,
ref: `refs/heads/${branch}`,
ref: `${branch}`,
sha: mainSha
});
Expand Down

0 comments on commit 36d2919

Please sign in to comment.