Quickstart
Get your first build running in 20 seconds.
Prerequisites
- 1. Git installed
1
Add the Zippy remote
In your git project, add Zippy as a git remote.
Choose a organization and project that fits you.
$
git remote add zippy git@zippy.sh:acme/project
Don't forget to replace acme/project with your actual organization and project name.
2
Create an executable zippy.sh
Add zippy.sh
to your project root. This is your entire CI/CD pipeline:
#!/bin/bash
set -e
npm install
npm test
npm run build
# Deploy however you want
rsync -avz ./dist/ yourhost.com:/var/www/app/
Or:
docker build organization/your-app
(5.2s)
docker push organization/your-app
(1.1s)
Don't forget to make zippy.sh executable:
chmod +x zippy.sh
3
Push and deploy
Commit your changes and push to Zippy:
$
git add zippy.sh
$
git commit -m "Add Zippy pipeline"
$
git push zippy main
Enumerating objects: 5, done.
Writing objects: 100% (3/3), done.
⚡ zippy →
build starting...
⚡ zippy →
cloning code...
⚡ zippy →
creating container...
⚡ zippy →
running zippy.sh
⚡ zippy →
npm install
⚡ zippy →
npm test
✓ 12 passed
⚡ zippy →
npm run build
⚡ zippy →
success
build completed