Skip to content

Commit

Permalink
Release 3.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
fdiebel committed Jan 13, 2018
1 parent c3b6a2d commit 15db0e5
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 7 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
## [3.6.6] - 01-13-2018
### Added
- Server health information now included in email/html logs via integration with [PHP Server Monitor](http://www.phpservermonitor.org/) using this [API](https://github.com/skydiver/PHP-Server-Monitor-API)
- Option to include web hosting as a line item on monthly reports
Expand Down Expand Up @@ -179,7 +179,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Old monolithic script rewritten


[Unreleased]: https://github.com/EMRL/deploy/compare/v3.6.5...HEAD
[Unreleased]: https://github.com/EMRL/deploy/compare/v3.6.6...HEAD
[3.6.8]: https://github.com/EMRL/deploy/compare/v3.6.7...3.6.8
[3.6.7]: https://github.com/EMRL/deploy/compare/v3.6.6...3.6.7
[3.6.6]: https://github.com/EMRL/deploy/compare/v3.6.5...3.6.6
[3.6.5]: https://github.com/EMRL/deploy/compare/v3.6.4...3.6.5
[3.6.4]: https://github.com/EMRL/deploy/compare/v3.6...v3.6.4
[3.6]: https://github.com/EMRL/deploy/compare/v3.5.7...v3.6
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
# Deploy

[![release](https://img.shields.io/badge/release-v3.6.5-blue.svg?style=flat)](https://github.com/EMRL/deploy/releases/latest)
[![release](https://img.shields.io/badge/release-v3.6.6-blue.svg?style=flat)](https://github.com/EMRL/deploy/releases/latest)
[![Build Status](https://travis-ci.org/EMRL/deploy.svg?branch=master)](https://travis-ci.org/EMRL/deploy)

`deploy` is a shell script designed to speed up and automate project deployment. Its main focus is Wordpress websites, but it can be used with any code repository.

[![asciicast](https://asciinema.org/a/mMCid9O2BK7JrpocQuSl3CRkP.png)](https://asciinema.org/a/mMCid9O2BK7JrpocQuSl3CRkP?t=0)
[Changelog](https://github.com/EMRL/deploy/blob/master/CHANGELOG.md)

This script is in daily use at [EMRL](http://emrl.com), an advertising, design, and development agency in northern California. If you have any questions, please feel free to contact us.

Please note that our documentation here is nearly useless, and there is quite a bit of setup involved in getting this running reliably. A full setup guide is coming soon™.

[View Changelog](https://github.com/EMRL/deploy/blob/master/CHANGELOG.md)

## Startup Options

```
Expand Down Expand Up @@ -52,6 +50,8 @@ Other Options:
--variable-list Output a project's declared variables
```

[![asciicast](https://asciinema.org/a/mMCid9O2BK7JrpocQuSl3CRkP.png)](https://asciinema.org/a/mMCid9O2BK7JrpocQuSl3CRkP?t=0)

## How It Works

Basically, this thing is a wrapper that simplifies web app deployment from a development or staging environment to a production server. At the moment is mostly focused on Wordpress projects but in it should work for other stuff too.
Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
###############################################################################

IFS=$'\n\t'
VERSION="3.6.6rc"
VERSION="3.6.6"
EPOCH="$(date +%s)"
NOW="$(date +"%B %d, %Y")"
LASTMONTH="$(date --date="$(date +%Y-%m-15) -1 month" +'%B')"
Expand Down
33 changes: 33 additions & 0 deletions lib/invoice.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash
#
# invoice.sh
#
###############################################################################
# Handles creating invoices and integration with InvoiceNinja
###############################################################################

function create_invoice() {
# Will create the invoice payload
trace "This is an empty function"
}

function send_invoice() {
# Hit the InvoiceNinja API and create the invoice
#
# Things that need to be defined:
# API URL
# client_id
#
# And then we'll loop through
# product
# notes
# cost
# qty
#
# Example to create an invoice:
#
# curl -X POST https://invoice.com/api/v1/invoices -H "Content-Type:application/json" \
# -d '{"client_id":"1", "invoice_items":[{"product_key": "ITEM", "notes":"Test", "cost":10, "qty":1}]}' \
# -H "X-Ninja-Token: ###################################"
trace "This is an empty function"
}

0 comments on commit 15db0e5

Please sign in to comment.