mirror of
https://github.com/alrayyes/wercker-surge-deploy-step
synced 2023-11-13 18:16:40 +00:00
updated README
This commit is contained in:
parent
3cd85704cd
commit
be8863fa69
51
README.md
51
README.md
@ -1 +1,50 @@
|
|||||||
Fill me!
|
# Wercker Step Surge Deploy
|
||||||
|
|
||||||
|
This step wil deploy your site to [Surge.sh](https://surge.sh/) using the [surge cli client](https://www.npmjs.com/package/surge).
|
||||||
|
|
||||||
|
# Requirements
|
||||||
|
|
||||||
|
This step requires a container with [npm](https://www.npmjs.com/) installed.
|
||||||
|
|
||||||
|
# Parameters
|
||||||
|
|
||||||
|
## login (required)
|
||||||
|
|
||||||
|
The surge.sh login. The login can be echoed by running
|
||||||
|
|
||||||
|
```shell
|
||||||
|
surge token
|
||||||
|
```
|
||||||
|
|
||||||
|
locally.
|
||||||
|
|
||||||
|
## directory (optional)
|
||||||
|
|
||||||
|
The directory to de deployed. Defaults to public.
|
||||||
|
|
||||||
|
## token (required)
|
||||||
|
|
||||||
|
The surge.sh token. The login can be echoed by running
|
||||||
|
|
||||||
|
```shell
|
||||||
|
surge token
|
||||||
|
```
|
||||||
|
|
||||||
|
locally.
|
||||||
|
|
||||||
|
## domain (required)
|
||||||
|
|
||||||
|
Domain to be used with surge.sh hosting.
|
||||||
|
|
||||||
|
# Example wercker.yml (Docker)
|
||||||
|
|
||||||
|
```yml
|
||||||
|
box: andthensome/alpine-surge-bash
|
||||||
|
deploy:
|
||||||
|
steps:
|
||||||
|
- alrayyes/surge-deploy:
|
||||||
|
login: "user@example.com"
|
||||||
|
directory: "public"
|
||||||
|
token: "94a08da1fecbb6e8b46990538c7b50b2"
|
||||||
|
domain: "example.com"
|
||||||
|
```
|
@ -1,5 +1,5 @@
|
|||||||
name: surge-deploy
|
name: surge-deploy
|
||||||
version: 0.1.8
|
version: 0.1.9
|
||||||
description: Deploys a directory to surge.sh.
|
description: Deploys a directory to surge.sh.
|
||||||
keywords:
|
keywords:
|
||||||
- deploy
|
- deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user