Last active
January 24, 2020 04:33
-
-
Save Livin21/f5f73be3ec6cf39f5c519d0d7203510e to your computer and use it in GitHub Desktop.
Ultron - Riafy Deployment Management Tool
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
image: samueldebruyn/debian-git | |
pipelines: | |
branches: | |
master: | |
- step: | |
caches: | |
- node | |
script: | |
- apt-get update | |
- apt-get -qq install curl | |
- curl -sL https://deb.nodesource.com/setup_10.x | bash - | |
- apt-get update | |
- apt-get install -y nodejs build-essential tar | |
- touch archive.tar.gz | |
- npm install | |
- CI=false npm run build | |
- tar --exclude=.git --exclude=archive.tar.gz -zcvf archive.tar.gz -C build . | |
- curl -sL --request POST -F 'passphrase='$ULTRON_TOKEN -F 'upload=@archive.tar.gz' --url $ULTRON_URL'?stack='$PROJECT_STACK'&project='$PROJECT_NAME'&dir='$PROJECT_DIRECTORY |
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
image: samueldebruyn/debian-git | |
pipelines: | |
branches: | |
master: | |
- step: | |
script: | |
- apt-get update | |
- apt-get install -y tar curl | |
- touch archive.tar.gz | |
- tar --exclude=.git --exclude=archive.tar.gz -zcvf archive.tar.gz . | |
- curl -sL --request POST -F 'passphrase='$ULTRON_TOKEN -F 'upload=@archive.tar.gz' --url $ULTRON_URL'?stack='$PROJECT_STACK'&project='$PROJECT_NAME'&dir='$PROJECT_DIRECTORY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment