Update .gitlab-ci.yml

master
Michał Woźniak 2020-10-27 23:29:56 +01:00
rodzic ed1c88b3d0
commit f806ebeef5
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,10 +1,10 @@
deploy:
stage: deploy
script:
- rename.ul 's/\.txt$/.src/' ./kaczissimus/*.txt
- rename.ul .txt .src/ ./kaczissimus/*.txt
- for f in ./kaczissimus/*.src; do fmt $f > "$f.txt"; done
- rm ./kaczissimus/*.src
- rename.ul 's/\.src\.txt$/.txt/' ./kaczissimus/*
- rename.ul .src.txt .txt ./kaczissimus/*
- rsync -av --exclude=.git --exclude=.gitignore --exclude=README.md --exclude=.gitlab-ci.yml --delete --delete-excluded ./ /srv/websites/$CI_PROJECT_NAME/
only:
- master