Skip to content

Commit

Permalink
ci: copy module from main branch instead of current branch
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed May 7, 2024
1 parent 256d925 commit dc640bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- name: Copy Modules
run: |
mkdir -p build/page
cp cmake/Assertion.cmake build/page/$(git branch --show-current)
git checkout main
cp cmake/Assertion.cmake build/page/main
for tag in $(git tag); do
git checkout $tag
cp cmake/Assertion.cmake build/page/$tag
Expand Down

0 comments on commit dc640bc

Please sign in to comment.