summary refs log tree commit diff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authormayx2022-01-24 14:44:13 +0000
committermayx2022-01-24 14:44:13 +0000
commit1769ac0a72b631c0c855485ab1b2e46210f036d9 (patch)
tree7af9810e4ad01af708c499373c805ab19ccd321a /.gitlab-ci.yml
parent3c15c9e3b2bdb47b5ec2c1e165c28e3de0de7c93 (diff)
更新 deploy.sh, .gitlab-ci.yml
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml18
1 files changed, 1 insertions, 17 deletions
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