1
0
mirror of https://github.com/alrayyes/wercker-surge-deploy-step synced 2023-11-13 18:16:40 +00:00
wercker-surge-deploy-step/README.md
2016-10-04 23:57:46 +02:00

900 B

Wercker Step Surge Deploy

This step wil deploy your site to Surge.sh using the surge cli client.

Requirements

This step requires a container with npm installed.

Parameters

login (required)

The surge.sh login. The login can be echoed by running

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

surge token

locally.

domain (required)

Domain to be used with surge.sh hosting.

Example wercker.yml (Docker)

box: andthensome/alpine-surge-bash
deploy:
  steps:
    - alrayyes/surge-deploy:
        login: "user@example.com"
        directory: "public"
        token: "94a08da1fecbb6e8b46990538c7b50b2"
        domain: "example.com"