Commit fbd66cab authored by 吕祺's avatar 吕祺 ⛹🏽

deploy

parent b722c811
# stages: stages:
# - build - build
# - deploy # - deploy
# cache: # cache:
# paths: # paths:
...@@ -19,16 +19,16 @@ ...@@ -19,16 +19,16 @@
# - node utils/articleAggregate.js # - node utils/articleAggregate.js
# - sh utils/commit.sh # - sh utils/commit.sh
# # compress_images: # compress_images:
# # stage: build # stage: build
# # # when: manual # # when: manual
# # environment: # environment:
# # name: release # name: release
# # only: # only:
# # - master # - master
# # script: # script:
# # - yarn # - yarn
# # - sh utils/imageCompress.sh # - sh utils/imageCompress.sh
# deploy: # deploy:
...@@ -48,24 +48,20 @@ ...@@ -48,24 +48,20 @@
# - /home/gitlab-runner/sh/ossutil64 cp -f out oss://gaorong-web/ -r # - /home/gitlab-runner/sh/ossutil64 cp -f out oss://gaorong-web/ -r
# preview: preview:
# stage: deploy stage: build
# # when: manual # when: manual
# environment: environment:
# name: preview name: preview
# # artifacts: # artifacts:
# # name: 'package' # name: 'package'
# # untracked: true # untracked: true
# # expire_in: 12 hours # expire_in: 12 hours
# # paths: # paths:
# # - out # - out
# script: script:
# - yarn - rm -r /home/gitlab-runner/deploy/cmscenter/ronghui
# # - sh utils/imageCompress.sh - cp -r . /home/gitlab-runner/deploy/cmscenter/ronghui
# - npm run export
# - rm -r /home/gitlab-runner/deploy/official/out
# - cp -r out/ /home/gitlab-runner/deploy/official/
# - echo "预览网站:http://preview.gaorongvc.cn:9945/"
......
...@@ -3,11 +3,12 @@ backend: ...@@ -3,11 +3,12 @@ backend:
branch: master branch: master
repo: lq/touhoucms repo: lq/touhoucms
auth_type: implicit auth_type: implicit
app_id: 237fd675579e3907ba8a0e340714f14dbbf7d362eb3256e0cabc21fb6a2114d0 app_id: 25e7dca1513e953f83551bd12693295d2aecbed160b7072b2327ff601bc73a8d
# secret e86445cbae7d5dcf262dbf4128c53003d4b1242e8c97d10fa08f28a38a21a924
api_root: https://git.gaorongvc.cn/api/v4 api_root: https://git.gaorongvc.cn/api/v4
base_url: https://git.gaorongvc.cn base_url: https://git.gaorongvc.cn
authENdpoint: oauth/authorize authENdpoint: oauth/authorize
media_folder: media media_folder: media/ronghui
collections: collections:
- name: "newsPage" - name: "newsPage"
label: "newsPage" label: "newsPage"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment