atomaka.com/.drone.yml

65 lines
1.3 KiB
YAML
Raw Normal View History

2023-02-18 13:52:01 -05:00
# name: test
# kind: pipeline
2023-02-18 12:07:39 -05:00
2023-02-18 13:52:01 -05:00
# steps:
# - name: jekyll-build
# image: ruby
# commands:
# - gem install bundler
# - bundle install
# - bundle exec jekyll build
#
# trigger:
# branch:
# exclude: master
# event: push
#
# ---
2023-02-18 12:18:36 -05:00
name: deploy
2023-02-18 12:03:59 -05:00
kind: pipeline
steps:
2023-02-18 13:09:04 -05:00
# - 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}
2023-02-18 13:52:01 -05:00
# image: plugins/docker
# settings:
# pull_image: true
# registry: docker.atomaka.com
# repo: docker.atomaka.com/atomaka.com
# tags:
# - latest
# - ${DRONE_TAG}
2023-02-18 12:56:25 -05:00
- name: deploy
2023-02-18 14:19:38 -05:00
image: appleboy/drone-ssh
2023-02-18 12:56:25 -05:00
settings:
host:
from_secret: unraid_host
username:
from_secret: unraid_username
key:
from_secret: unraid_ssh_key
script:
2023-02-18 13:09:04 -05:00
- echo "Hello, world!"
# - docker pull docker.atomaka.com/atomaka.com:latest
# - docker restart atomaka.com
2023-02-18 13:54:11 -05:00
# trigger:
# event: tag
2023-02-18 12:03:59 -05:00
trigger:
2023-02-18 13:54:11 -05:00
branch:
exclude: master
event: push