update ci
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Nofated095 2023-09-23 15:05:16 +08:00
parent 1427f6f727
commit e133ea34cf
2 changed files with 11 additions and 1 deletions

View File

@ -21,6 +21,8 @@ steps:
- ssh-keyscan gitlab.igem.org >> ~/.ssh/known_hosts
- git config --global user.name Nofated095 && git config --global user.email nofated095@outlook.com
- git clone git@gitlab.igem.org:2023/bjwz-china.git && cd bjwz-china && rm -rf ./* && cd ../
- mv ./public ./bjwz-china && mv ./fontawesome/css ./bjwz-china/assets/fontawesome/css && mv ./fontawesome/webfonts ./bjwz-china/assets/fontawesome/webfonts
- mv ./public ./bjwz-china
- cd ./bjwz-china && mkdir assets && cd assets && mkdir fontawesome && cd fontawesome && mkdir css && mkdir webfonts && cd ../../../
- mv ./fontawesome/css ./bjwz-china/assets/fontawesome/css && mv ./fontawesome/webfonts ./bjwz-china/assets/fontawesome/webfonts
- cp ./.gitlab-ci.yml ./bjwz-china && cp ./README.md ./bjwz-china
- cd ./bjwz-china && git add . && git commit -m '[Drone CI] Update' && git push

View File

@ -3,7 +3,15 @@ image: node:18-alpine
pages:
only:
- main
cache:
key:
files:
- yarn.lock
paths:
- .pnpm-store
script:
- echo BJWZ-China
artifacts:
paths:
- public