This commit is contained in:
parent
0fc636c648
commit
a05c44d488
@ -33,13 +33,13 @@ steps:
|
|||||||
url: "https://ericxliu.me"
|
url: "https://ericxliu.me"
|
||||||
validate: false
|
validate: false
|
||||||
output: /output
|
output: /output
|
||||||
- name: ls-file
|
- name: add-commit-hash
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
volumes:
|
volumes:
|
||||||
- name: output
|
- name: output
|
||||||
path: /output
|
path: /output
|
||||||
commands:
|
commands:
|
||||||
- ls -al /output
|
- sed -i 's/\[commit\]/\[${DRONE_COMMIT_SHA:0:7}\]/g' layouts/partials/footer.html
|
||||||
- name: git-push
|
- name: git-push
|
||||||
image: appleboy/drone-git-push:0.2.0-linux-amd64
|
image: appleboy/drone-git-push:0.2.0-linux-amd64
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user