atomaka.com/.drone.yml
Andrew Tomaka eded926b7b
Some checks failed
continuous-integration/drone/push Build is failing
testing
2023-02-18 13:54:11 -05:00

71 lines
1.5 KiB
YAML

# 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
#
# ---
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: test
image: ruby
environment:
SSH_KEY:
from_secret: docker_username
commands:
- echo $SSH_KEY
- name: deploy
image: plugins/ssh
settings:
host:
from_secret: unraid_host
username:
from_secret: unraid_username
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
trigger:
branch:
exclude: master
event: push