Last active
March 12, 2019 08:34
-
-
Save danielstrelec/46b50adadc600e0fd4c5b90e4c1fe2b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nastaveni ftp serveru | |
variables: | |
FTP_URL: "***" | |
FTP_USERNAME: "***" | |
FTP_PASSWORD: "***" | |
deploy: | |
# nazev akce | |
stage: deploy | |
# natazeni docker image s git-ftp | |
image: dotsunited/git-ftp | |
# spustime pozadovane skripty | |
script: | |
- git --version | |
- git ftp --version | |
# pouze pro vstupni deploy | |
#- git ftp init --user $FTP_USERNAME --passwd $FTP_PASSWORD $FTP_URL | |
# deploy posledniho commitu | |
- git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD $FTP_URL | |
# nastaveni spusteni - pouze na master vetvi | |
only: | |
- master | |
# manualni spusteni, kdyz je zakomentovano spousti se automaticky | |
#when: manual |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment