Skip to content

Commit

Permalink
优化github action
Browse files Browse the repository at this point in the history
  • Loading branch information
snowtafir committed Aug 4, 2024
1 parent cc3545c commit fbfb136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: ls -l

- name: 🚚 移动构建文件到临时目录
run: mv ./dist/* ../temp_dist/
run: cp -a ./dist/. ../temp_dist/

- name: 🛠️ 配置Git用户信息
run: |
Expand All @@ -71,7 +71,7 @@ jobs:
run: find . -mindepth 1 -maxdepth 1 ! -name '.git' -exec rm -rf {} +

- name: 🚚 从临时目录移动文件到当前目录
run: mv ./../temp_dist/* ./
run: cp -a ./../temp_dist/. ./

- name: 🗑️ 删除临时目录
run: rm -rf ./../temp_dist
Expand Down

0 comments on commit fbfb136

Please sign in to comment.