summaryrefslogtreecommitdiff
path: root/.drone.yml
blob: 9a711df9e533f266d40e5f7322333d0b0e1bcff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
  settings:
    pull: true
    remote: ssh://git@hyang.xyz/hyang/hyang.xyz.git
    branch: master
    commit_message: "[ci] Deploy page"
    ssh_key:
      from_secret: GIT_SSH_PRIVATE