From 1769ac0a72b631c0c855485ab1b2e46210f036d9 Mon Sep 17 00:00:00 2001 From: mayx Date: Mon, 24 Jan 2022 14:44:13 +0000 Subject: 更新 deploy.sh, .gitlab-ci.yml --- .gitlab-ci.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 443c06e..8ca0f68 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,26 +16,10 @@ before_script: - gem install bundler - bundle install -test: - stage: test - script: - - bundle exec jekyll build -d test - artifacts: - paths: - - test - except: - variables: - - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - pages: stage: deploy script: - - wget -O Mabbs/index.html https://mabbs.github.io/Mabbs/ - - rm -rf .git/ - - bundle exec jekyll build -d public - - rm -rf .jekyll-cache/ - - tar czvf ../MayxBlog.tgz . - - mv ../MayxBlog.tgz public/ + - bash deploy.sh artifacts: paths: - public -- cgit 1.4.1-2-gfad0