Add woodpecker.yml
This commit is contained in:
parent
ed44be30c0
commit
d011872e62
|
@ -0,0 +1,15 @@
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- git config --local user.name "$(git log --format=%an | head -n 1)"
|
||||||
|
- git config --local user.email "$(git log --format=%ae | head -n 1)"
|
||||||
|
- git switch master
|
||||||
|
- git restore --source experiment -- install.sh
|
||||||
|
- mv install.sh index.html
|
||||||
|
- rm -f install.sh
|
||||||
|
- [ ! -z "$(git status --porcelain)" ] || exit 0
|
||||||
|
- git add index.html
|
||||||
|
- git commit -m "Add changes from master branch"
|
||||||
|
- git push
|
||||||
|
|
Loading…
Reference in New Issue