Initial commit

This commit is contained in:
Kristian Freeman 2019-10-07 14:41:21 -05:00
commit 94b86fb506
4 changed files with 15 additions and 0 deletions

3
Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM alpine:3.10
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

1
README.md Normal file
View file

@ -0,0 +1 @@
zero-config [cloudflare workers](https://workers.cloudflare.com) application deployment using [wrangler](https://github.com/cloudflare/wrangler) and [github actions](https://github.com/actions)

5
deploy.yml Normal file
View file

@ -0,0 +1,5 @@
name: 'Cloudflare Workers Deploy'
description: 'Cloudflare Workers Deploy'
runs:
using: 'docker'
image: 'Dockerfile'

6
entrypoint.sh Executable file
View file

@ -0,0 +1,6 @@
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash
nvm install latest
npm i
npm i @cloudflare/wrangler -g
wrangler whoami
wrangler publish