Skip to content

Commit

Permalink
fix: remove files
Browse files Browse the repository at this point in the history
  • Loading branch information
kirainmoe committed Nov 6, 2021
1 parent dd23371 commit 03c3c58
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
- name: Release to jsdelivr repo
env:
token: ${{ secrets.token }}
run: git clone https://${token}@github.com/kirainmoe/hasee-tongfang-macos-build build
run: git clone https://${token}@github.com/kirainmoe/hasee-tongfang-macos-build /tmp/build

- run: rm -rf build/*.zip build/*.js
- run: cp $BUILD_NAME build/$BUILD_NAME
- run: cd build
- run: rm -rf /tmp/build/*.zip /tmp/build/*.js
- run: cp $BUILD_NAME /tmp/build/$BUILD_NAME
- run: git config --global user.name "tongfang-ci-bot"
- run: git config --global user.email "tongfang@kirainmoe.com"
- run: git add . && git commit -m "Deploy version $BUILD_NAME" && git push --force
- run: cd /tmp/build && git add . && git commit -m "Deploy version $BUILD_NAME" && git push --force

0 comments on commit 03c3c58

Please sign in to comment.