Skip to content

Commit

Permalink
fix(ci): replace invalid chars in branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
aellwein committed Jan 8, 2025
1 parent 451fb1f commit 2e565fe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,16 @@ jobs:
- name: Setup pages
uses: actions/configure-pages@v5

- name: replace branch name
run: |
echo "REPL_BRANCH_NAME=${BR_NAME////_}" >> $GITHUB_ENV
env:
BR_NAME: ${{ github.head_ref || github.ref_name }}

- name: Download artifact
uses: actions/download-artifact@v4
with:
name: dist-${{ github.head_ref || github.ref_name }}
name: dist-${{ env.REPL_BRANCH_NAME }}
path: dist/

- name: Upload artifact
Expand Down

0 comments on commit 2e565fe

Please sign in to comment.