Always comitting
This commit is contained in:
parent
bdf91412f2
commit
72714c743e
1 changed files with 6 additions and 11 deletions
|
|
@ -50,10 +50,6 @@ steps:
|
||||||
- git add -f cv.pdf
|
- git add -f cv.pdf
|
||||||
- git status
|
- git status
|
||||||
- |-
|
- |-
|
||||||
# Check if we have modifications to commit
|
|
||||||
CHANGES=$(git status --porcelain | wc -l)
|
|
||||||
|
|
||||||
if [ "$CHANGES" -gt "0" ]; then
|
|
||||||
# Show the status of files that are about to be created, updated or deleted
|
# Show the status of files that are about to be created, updated or deleted
|
||||||
git status
|
git status
|
||||||
|
|
||||||
|
|
@ -62,7 +58,6 @@ steps:
|
||||||
|
|
||||||
# Update the repository and make sure to skip the pipeline create for this commit
|
# Update the repository and make sure to skip the pipeline create for this commit
|
||||||
git push origin "${CI_REPO_DEFAULT_BRANCH}" -o ci.skip
|
git push origin "${CI_REPO_DEFAULT_BRANCH}" -o ci.skip
|
||||||
fi
|
|
||||||
environment:
|
environment:
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: SSH-KEY
|
from_secret: SSH-KEY
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue