commented out drone CI
This commit is contained in:
parent
0388d64b2b
commit
e972daf77e
1 changed files with 49 additions and 49 deletions
98
.drone.yml
98
.drone.yml
|
@ -1,50 +1,50 @@
|
||||||
kind: pipeline
|
# kind: pipeline
|
||||||
type: docker
|
# type: docker
|
||||||
name: default
|
# name: default
|
||||||
#secrets: [ AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY ]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Version check
|
# steps:
|
||||||
image: plugins/hugo
|
# - name: Version check
|
||||||
commands:
|
# image: plugins/hugo
|
||||||
- echo "Checking Hugo version."
|
# commands:
|
||||||
- hugo version
|
# - echo "Checking Hugo version."
|
||||||
- echo "Checking folder"
|
# - hugo version
|
||||||
- ls
|
# - echo "Checking folder"
|
||||||
- echo "Checking theme"
|
# - ls
|
||||||
- cd themes
|
# - echo "Checking theme"
|
||||||
- ls
|
# - cd themes
|
||||||
- echo "Checking ananke"
|
# - ls
|
||||||
- cd ananke
|
# - echo "Checking ananke"
|
||||||
- ls
|
# - cd ananke
|
||||||
- name: submodule fetch
|
# - ls
|
||||||
image: drone/git
|
# - name: submodule fetch
|
||||||
commands:
|
# image: drone/git
|
||||||
- git submodule update --init --recursive
|
# commands:
|
||||||
- name: checking theme was fetched
|
# - git submodule update --init --recursive
|
||||||
image: plugins/hugo
|
# - name: checking theme was fetched
|
||||||
commands:
|
# image: plugins/hugo
|
||||||
- cd themes
|
# commands:
|
||||||
- cd ananke
|
# - cd themes
|
||||||
- ls
|
# - cd ananke
|
||||||
- name: Build
|
# - ls
|
||||||
image: plugins/hugo
|
# - name: Build
|
||||||
settings:
|
# image: plugins/hugo
|
||||||
validate: true
|
# settings:
|
||||||
extended: true
|
# validate: true
|
||||||
config: ./hugo.toml
|
# extended: true
|
||||||
- name: check Build
|
# config: ./hugo.toml
|
||||||
image: plugins/hugo
|
# - name: check Build
|
||||||
commands:
|
# image: plugins/hugo
|
||||||
- ls
|
# commands:
|
||||||
- cd public
|
# - ls
|
||||||
- ls
|
# - cd public
|
||||||
- name: Deploy
|
# - ls
|
||||||
image: plugins/hugo
|
# - name: Deploy
|
||||||
environment:
|
# image: plugins/hugo
|
||||||
AWS_ACCESS_KEY_ID:
|
# environment:
|
||||||
from_secret: AWS_ACCESS_KEY_ID
|
# AWS_ACCESS_KEY_ID:
|
||||||
AWS_SECRET_ACCESS_KEY:
|
# from_secret: AWS_ACCESS_KEY_ID
|
||||||
from_secret: AWS_SECRET_ACCESS_KEY
|
# AWS_SECRET_ACCESS_KEY:
|
||||||
commands:
|
# from_secret: AWS_SECRET_ACCESS_KEY
|
||||||
- hugo deploy --config hugo.toml
|
# commands:
|
||||||
|
# - hugo deploy --config hugo.toml
|
Loading…
Reference in a new issue