Commit fd68bc4a authored by David Haynes's avatar David Haynes 🙆

Add CI deploy to DO spaces

parent f4042437
Pipeline #3001 failed with stages
in 56 seconds
...@@ -5,7 +5,6 @@ before_script: ...@@ -5,7 +5,6 @@ before_script:
- npm install -g gulp - npm install -g gulp
build: build:
stage: build
script: script:
- gulp build - gulp build
artifacts: artifacts:
...@@ -16,7 +15,6 @@ build: ...@@ -16,7 +15,6 @@ build:
- master - master
pages: pages:
stage: deploy
script: script:
- gulp build - gulp build
- mkdir public - mkdir public
...@@ -26,3 +24,11 @@ pages: ...@@ -26,3 +24,11 @@ pages:
- public - public
only: only:
- master - master
deploy:
image: python:latest
script:
- pip install awscli
- aws s3 cp ./build/ s3://srct/masonstrap/ --recursive
only:
- master
...@@ -6,18 +6,18 @@ ...@@ -6,18 +6,18 @@
"author": "Mason SRCT", "author": "Mason SRCT",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^5.1.0", "@fortawesome/fontawesome-free": "^5.3.1",
"autoprefixer": "^8.6.3", "autoprefixer": "^9.1.5",
"bootstrap": "^4.1.1", "bootstrap": "^4.1.3",
"gulp-concat": "^2.6.1", "gulp-concat": "^2.6.1",
"gulp-connect": "^5.5.0", "gulp-connect": "^5.6.1",
"gulp-imagemin": "^4.1.0", "gulp-imagemin": "^4.1.0",
"gulp-minify": "^3.0.2", "gulp-minify": "^3.1.0",
"gulp-postcss": "^7.0.0", "gulp-postcss": "^8.0.0",
"gulp-rename": "^1.3.0", "gulp-rename": "^1.4.0",
"gulp-sass": "^4.0.1", "gulp-sass": "^4.0.1",
"gulp-sourcemaps": "^2.6.1", "gulp-sourcemaps": "^2.6.1",
"gulp-uglify": "^3.0.0", "gulp-uglify": "^3.0.1",
"gulp-uglifycss": "^1.1.0", "gulp-uglifycss": "^1.1.0",
"jquery": "^3.2.1", "jquery": "^3.2.1",
"merge-stream": "^1.0.1" "merge-stream": "^1.0.1"
......
This diff is collapsed.
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