Commit c1ceef00 authored by Shaun Burch's avatar Shaun Burch 💻

Add .gitlab-ci.yml

parent 349375e8
variables:
S3_BUCKET_NAME: "shaunbur.ch"
S3_REGION: "us-east-1"
deploy to production:
environment:
name: Production
url: http://shaunbur.ch
stage: deploy
image: ruby:latest
script:
- gem install dpl
- dpl --provider=s3 --acl=public_read --bucket=$S3_BUCKET_NAME --region=$S3_REGION
only:
- master
pages:
environment: Test
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
\ No newline at end of file
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