Commit e76c41f8 authored by NecroTechno's avatar NecroTechno

feat(ci): create artifacts between stages

parent 85e3824c
Pipeline #175222874 passed with stages
in 1 minute and 54 seconds
......@@ -12,6 +12,9 @@ build:
- curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git cobalt-org/cobalt.rs --crate cobalt
- ./git_log.sh
- cobalt build
artifacts:
paths:
- _site/
deploy:
stage: deploy
......@@ -24,7 +27,5 @@ deploy:
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- pwd
- ls
- rsync -va --exclude '.git' --exclude '.circleci' --delete _site/ [email protected]:/var/www/necro.tech/public_html
- rsync -va --exclude '.git' --exclude '.circleci' --delete ./_site/ [email protected]:/var/www/necro.tech/public_html
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