Merge branch 'master' of git.ericxliu.me:eric/ericxliu-me
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Eric X. Liu 2023-09-18 21:13:13 -07:00
commit 64ed4f0eca

View File

@ -33,13 +33,13 @@ steps:
url: "https://ericxliu.me"
validate: false
output: /output
- name: ls-file
- name: add-commit-hash
image: alpine/git
volumes:
- name: output
path: /output
commands:
- ls -al /output
- sed -i 's/\[commit\]/\[${DRONE_COMMIT_SHA:0:7}\]/g' /output/index.html
- name: git-push
image: appleboy/drone-git-push:0.2.0-linux-amd64
volumes: