atomaka.com/.drone.yml

52 lines
1 KiB
YAML
Raw Normal View History

2023-02-18 12:03:59 -05:00
name: test
2023-02-18 00:56:43 -05:00
kind: pipeline
steps:
2023-02-18 12:13:32 -05:00
- name: jekyll-build
2023-02-18 00:19:17 -05:00
image: ruby
commands:
- gem install bundler
- bundle install
- bundle exec jekyll build
2023-02-18 12:07:39 -05:00
trigger:
branch:
exclude: master
event: push
2023-02-18 12:18:36 -05:00
2023-02-18 12:03:59 -05:00
---
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 12:56:25 -05:00
- name: deploy
image: plugins/ssh
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 12:03:59 -05:00
trigger:
2023-02-18 12:18:36 -05:00
event: tag