mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-22 01:53:24 +01:00
Initial commit
This commit is contained in:
commit
94b86fb506
4 changed files with 15 additions and 0 deletions
3
Dockerfile
Normal file
3
Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM alpine:3.10
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
1
README.md
Normal file
1
README.md
Normal 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
5
deploy.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
name: 'Cloudflare Workers Deploy'
|
||||
description: 'Cloudflare Workers Deploy'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
6
entrypoint.sh
Executable file
6
entrypoint.sh
Executable 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
|
Loading…
Reference in a new issue