update ci
This commit is contained in:
parent
1427f6f727
commit
e133ea34cf
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue