Back to reasonable file
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error

This commit is contained in:
Andrew Tomaka 2023-02-18 14:22:15 -05:00
parent 408718bb7e
commit 47174c5307
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -1,47 +1,47 @@
# name: test
# kind: pipeline
name: test
kind: pipeline
# steps:
# - name: jekyll-build
# image: ruby
# commands:
# - gem install bundler
# - bundle install
# - bundle exec jekyll build
#
# trigger:
# branch:
# exclude: master
# event: push
#
# ---
steps:
- name: jekyll-build
image: ruby
commands:
- gem install bundler
- bundle install
- bundle exec jekyll build
trigger:
branch:
exclude: master
event: push
---
name: deploy
kind: pipeline
steps:
# - name: jekyll-build
# image: ruby
# commands:
# - gem install bundler
# - bundle install
# - bundle exec jekyll build
# - name: docker-build
# image: plugins/docker
# settings:
# pull_image: true
# registry: docker.atomaka.com
# repo: docker.atomaka.com/atomaka.com
# tags:
# - latest
# - ${DRONE_TAG}
# image: plugins/docker
# settings:
# pull_image: true
# registry: docker.atomaka.com
# repo: docker.atomaka.com/atomaka.com
# tags:
# - latest
# - ${DRONE_TAG}
- name: jekyll-build
image: ruby
commands:
- gem install bundler
- bundle install
- bundle exec jekyll build
- name: docker-build
image: plugins/docker
settings:
pull_image: true
registry: docker.atomaka.com
repo: docker.atomaka.com/atomaka.com
tags:
- latest
- ${DRONE_TAG}
image: plugins/docker
settings:
pull_image: true
registry: docker.atomaka.com
repo: docker.atomaka.com/atomaka.com
tags:
- latest
- ${DRONE_TAG}
- name: deploy
image: appleboy/drone-ssh
settings:
@ -52,13 +52,7 @@ steps:
key:
from_secret: unraid_ssh_key
script:
- echo "Hello, world!"
# - docker pull docker.atomaka.com/atomaka.com:latest
# - docker restart atomaka.com
# trigger:
# event: tag
- docker pull docker.atomaka.com/atomaka.com:latest
- docker restart atomaka.com
trigger:
branch:
exclude: master
event: push
event: tag