Improved Moodle Virtual Programming Lab grader tool.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
697 B

kind: pipeline
name: docs
steps:
- name: hugo
image: plugins/download
settings:
source: https://github.com/gohugoio/hugo/releases/download/v0.55.6/hugo_extended_0.55.6_Linux-64bit.tar.gz
destination: hugo.tar.gz
sha256: 8962b8cdc0ca220da97293cea0bb1b31718cb4d99d0766be6865cb976b1c1805
- name: build
image: golang:1.12-stretch
commands:
- tar xvf hugo.tar.gz hugo
- cd docs
- ../hugo
- name: deploy
image: plugins/s3
settings:
endpoint: https://s3.geek1011.net
bucket: vpldocs
acl: public-read
source: docs/public/**/*
strip_prefix: docs/public/
target: /
access_key:
from_secret: s3_key
secret_key:
from_secret: s3_secret