Skip to content

Commit

Permalink
Fix push to prebuilt when artifacts list changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rocka committed Dec 31, 2023
1 parent 0ac8477 commit 4c7a8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
working-directory: prebuilt
run: |
rm -r ./*
for TARGET in $(<../build/artifacts.txt)
do
rm -r "./$TARGET"
cp -a "../build/$TARGET" ./
done
git remote set-url origin "https://${{ secrets.BOT_TOKEN }}@github.com/fcitx5-android/prebuilt.git"
Expand Down

0 comments on commit 4c7a8d8

Please sign in to comment.