This commit is contained in:
parent
6f38776809
commit
79b16ccc81
1 changed files with 11 additions and 6 deletions
|
@ -52,18 +52,23 @@ steps:
|
||||||
- name: Confirm-Build
|
- name: Confirm-Build
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache g++ libc-dev git clang clang-extra-tools
|
|
||||||
- echo "Checking for changes..."
|
|
||||||
- git config --global user.name "nyosic"
|
|
||||||
- git config --global user.email "nyosic@xyro.win"
|
|
||||||
- git add .
|
|
||||||
- git diff --cached --quiet || (git commit -m "Apply clang-format changes [skip ci]" && git push origin HEAD)
|
|
||||||
- ls -al build
|
- ls -al build
|
||||||
- echo "Build is mint!"
|
- echo "Build is mint!"
|
||||||
depends_on:
|
depends_on:
|
||||||
- Build
|
- Build
|
||||||
- Test-Debian
|
- Test-Debian
|
||||||
|
|
||||||
|
- name: push-commit
|
||||||
|
image: appleboy/drone-git-push
|
||||||
|
settings:
|
||||||
|
remote_name: origin
|
||||||
|
branch: gh-pages
|
||||||
|
local_ref: gh-pages
|
||||||
|
commit_message: "Apply clang-format changes [skip ci]"
|
||||||
|
commit: true
|
||||||
|
depends_on:
|
||||||
|
- Confirm-Build
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Add table
Reference in a new issue