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
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'json' | |
require 'time' | |
# Replace YOUR_API_KEY with your Codeship API key | |
API_KEY = 'YOUR_API_KEY' | |
# Change this to ['repository/name', 'repository/name2'] if you want to filter only specific projects | |
PROJECTS = nil |
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
#!/bin/bash | |
if [[ -f /tmp/webpack-status ]]; then | |
STATUS=$(cat /tmp/webpack-status) | |
if [[ $STATUS -eq "-1" ]]; then | |
echo "Build failed!" | |
elif [[ $STATUS -eq "1" ]]; then | |
echo "Build success." | |
else | |
echo "Build in progress..." |
OlderNewer