Upload job for s3 based content
This commit is contained in:
parent
2518d85a88
commit
5b4bf039e9
@ -56,25 +56,14 @@ pages:
|
|||||||
paths:
|
paths:
|
||||||
- public/
|
- public/
|
||||||
|
|
||||||
# Deploys to the main blog
|
deploy-shockrah.xyz:
|
||||||
# TODO: make sure this works with the latest infrastructure as the
|
stage: deploy
|
||||||
# server is used to deploy to is now gone
|
image: amazon/aws-cli:2.2.25
|
||||||
#deploy-shockrah.xyz:
|
needs:
|
||||||
# stage: deploy
|
- build-shockrah.xyz
|
||||||
# image: shockrah/ansible:latest
|
before_script:
|
||||||
# needs:
|
- bash scripts/verify-aws-fields.sh
|
||||||
# - build-shockrah.xyz
|
- aws s3 cp public/ s3://shockrah-xyz-static-content/ --recursive
|
||||||
# dependencies:
|
|
||||||
# - build-shockrah.xyz
|
|
||||||
# before_script:
|
|
||||||
# - eval "$(ssh-agent -s)"
|
|
||||||
# - echo "${CI_USER_KEY}" | tr -d '\r' | ssh-add -
|
|
||||||
# - mkdir -p ~/.ssh/
|
|
||||||
# - chmod 700 ~/.ssh/
|
|
||||||
# - ssh-keyscan shockrah.xyz 2>&1 >> ~/.ssh/known_hosts
|
|
||||||
# - chmod 644 ~/.ssh/known_hosts
|
|
||||||
# script:
|
|
||||||
# - ansible-playbook -i $INVENTORY scripts/deploy-blog.yml
|
|
||||||
|
|
||||||
|
|
||||||
# Deploy to neocities via their curl api
|
# Deploy to neocities via their curl api
|
||||||
|
Loading…
Reference in New Issue
Block a user