Fix more and more bugs
This commit is contained in:
parent
1ff761fc80
commit
029691b560
|
@ -1,13 +1,16 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
|
secrets: [ cbtoken ]
|
||||||
commands:
|
commands:
|
||||||
- git fetch --no-tags origin +refs/heads/pages
|
- git fetch --no-tags origin +refs/heads/pages
|
||||||
|
- git remote set-url origin "https://$${CBTOKEN}@codeberg.org/slococo/calsais.git"
|
||||||
- git config --local user.name "$(git log --format=%an | head -n 1)"
|
- 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 config --local user.email "$(git log --format=%ae | head -n 1)"
|
||||||
- git switch pages
|
- git switch pages
|
||||||
- git restore --source master -- install.sh
|
- git restore --source master -- install.sh
|
||||||
- mv install.sh index.html
|
- mv install.sh index.html
|
||||||
|
- chmod 644 index.html
|
||||||
- rm -f install.sh
|
- rm -f install.sh
|
||||||
- if [ -z "$(git status --porcelain)" ]; then exit 0; fi
|
- if [ -z "$(git status --porcelain)" ]; then exit 0; fi
|
||||||
- git add index.html
|
- git add index.html
|
||||||
|
|
Loading…
Reference in New Issue