summaryrefslogtreecommitdiff
path: root/.drone.yml
blob: 974b1fdbf74e27e37d906c2f9a30dbdc2b52f269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
kind: pipeline
type: docker
name: deploy_hugo

steps:
- name: build
  image: klakegg/hugo
  environment:
    HUGO_ENVIRONMENT: production
    HUGO_ENV: production

- name: push
  image: appleboy/drone-git-push
  environment:
    PLUGIN_SSH_KEY:
      from_secret: GIT_SSH_PRIVATE
  settings:
    pull: true
    remote: ssh://git@hyang.xyz:hyang/hyang.xyz.git
    branch: master
    commit_message: "[ci] Deploy page"