commented out drone CI

This commit is contained in:
maxime-cool 2024-01-19 15:38:55 +01:00
parent 0388d64b2b
commit e972daf77e

View file

@ -1,50 +1,50 @@
kind: pipeline
type: docker
name: default
#secrets: [ AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY ]
# kind: pipeline
# type: docker
# name: default
steps:
- name: Version check
image: plugins/hugo
commands:
- echo "Checking Hugo version."
- hugo version
- echo "Checking folder"
- ls
- echo "Checking theme"
- cd themes
- ls
- echo "Checking ananke"
- cd ananke
- ls
- name: submodule fetch
image: drone/git
commands:
- git submodule update --init --recursive
- name: checking theme was fetched
image: plugins/hugo
commands:
- cd themes
- cd ananke
- ls
- name: Build
image: plugins/hugo
settings:
validate: true
extended: true
config: ./hugo.toml
- name: check Build
image: plugins/hugo
commands:
- ls
- cd public
- ls
- name: Deploy
image: plugins/hugo
environment:
AWS_ACCESS_KEY_ID:
from_secret: AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY:
from_secret: AWS_SECRET_ACCESS_KEY
commands:
- hugo deploy --config hugo.toml
# steps:
# - name: Version check
# image: plugins/hugo
# commands:
# - echo "Checking Hugo version."
# - hugo version
# - echo "Checking folder"
# - ls
# - echo "Checking theme"
# - cd themes
# - ls
# - echo "Checking ananke"
# - cd ananke
# - ls
# - name: submodule fetch
# image: drone/git
# commands:
# - git submodule update --init --recursive
# - name: checking theme was fetched
# image: plugins/hugo
# commands:
# - cd themes
# - cd ananke
# - ls
# - name: Build
# image: plugins/hugo
# settings:
# validate: true
# extended: true
# config: ./hugo.toml
# - name: check Build
# image: plugins/hugo
# commands:
# - ls
# - cd public
# - ls
# - name: Deploy
# image: plugins/hugo
# environment:
# AWS_ACCESS_KEY_ID:
# from_secret: AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY:
# from_secret: AWS_SECRET_ACCESS_KEY
# commands:
# - hugo deploy --config hugo.toml