Skip to content

Commit

Permalink
ci: have different artifacts per branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kok3shidoll committed Jul 27, 2023
1 parent 395df4c commit de5347b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
mv build/Pongo.bin upload/
mv build/checkra1n-kpf-pongo upload/
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v7

- name: Upload artifact
uses: wangyucode/[email protected]
with:
Expand All @@ -44,4 +48,4 @@ jobs:
forceUpload: true
dryRun: false
localDir: 'upload'
remoteDir: '/palera1n/artifacts/kpf'
remoteDir: "/palera1n/artifacts/kpf/${{ steps.branch-name.outputs.ref_branch || github.ref }}"

0 comments on commit de5347b

Please sign in to comment.