• Stars
    star
    323
  • Rank 130,051 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 5 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸš€ Netlify deploy from GitHub Actions

actions-netlify

build-test

GitHub Actions for deploying to Netlify

Deploy URLs are commented on your pull requests and commit comments!

GitHub Deployments are also supported!

Usage

# .github/workflows/netlify.yml
name: Build and Deploy to Netlify
on:
  push:
  pull_request:
jobs:
  build:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v3

      # ( Build to ./dist or other directory... )

      - name: Deploy to Netlify
        uses: nwtgck/[email protected]
        with:
          publish-dir: './dist'
          production-branch: master
          github-token: ${{ secrets.GITHUB_TOKEN }}
          deploy-message: "Deploy from GitHub Actions"
          enable-pull-request-comment: false
          enable-commit-comment: true
          overwrites-pull-request-comment: true
        env:
          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
        timeout-minutes: 1

Required inputs and env

  • publish-dir (e.g. "dist", "_site")
  • NETLIFY_AUTH_TOKEN: Personal access tokens > New access token
  • NETLIFY_SITE_ID: team page > your site > Settings > Site details > Site information > API ID
    • NOTE: API ID is NETLIFY_SITE_ID.

Optional inputs

  • production-branch (e.g. "master")
  • production-deploy: Deploy as Netlify production deploy (default: false)
  • github-token: ${{ secrets.GITHUB_TOKEN }}
  • deploy-message A custom deploy message to see on Netlify deployment (e.g. ${{ github.event.pull_request.title }})
  • enable-pull-request-comment: true Comment on pull request (default: true)
  • enable-commit-comment: true Comment on GitHub commit (default: true)
  • enable-commit-status: true GitHub commit status (default: true)
  • overwrites-pull-request-comment: true Overwrites comment on pull request (default: true)
  • netlify-config-path: ./netlify.toml Path to netlify.toml (default: undefined)
  • functions-dir Netlify functions output directory (default: undefined)
  • alias Specifies the prefix for the deployment URL, must not have uppercase or special characters (default: Netlify build ID)
  • enable-github-deployment Whether or not to deploy to GitHub (default: true)
  • github-deployment-environment Environment name of GitHub Deployments
  • github-deployment-description Description of the GitHub Deployment
  • fails-without-credentials Fails if no credentials provided (default: false)

Paths are relative to the project's root

All paths (eg, publish-dir, netlify-config-path, functions-dir) are relative to the project's root or absolute paths.

Outputs

  • deploy-url A deployment URL generated by Netlify

Build on local

npm ci
npm run all

More Repositories

1

piping-server

Infinitely transfer between every device over pure HTTP with pipes or browsers
TypeScript
2,759
star
2

gh-card

:octocat: GitHub Repository Card for Any Web Site
TypeScript
1,310
star
3

actions-comment-run

Execute any script in a GitHub issue comment
TypeScript
439
star
4

piping-server-rust

Infinitely transfer between every device over pure HTTP with pipes or browsers
Rust
247
star
5

gif-progress

🎬 Attach progress bar to animated GIF
Go
195
star
6

piping-ui-web

Easy and secure file transfer between every device over HTTPS with/without E2E encryption by ECDH and OpenPGP
Vue
134
star
7

fakelish-npm

Fake English word generator for JavaScript/TypeScript
TypeScript
95
star
8

piping-ssh-web

SSH over HTTPS via Piping Server on Web browser
Vue
94
star
9

ray-tracing-iow-rust

Ray Tracing in One Weekend written in Rust
Rust
81
star
10

piping-vnc-web

VNC client over pure HTTPS via Piping Server on Web browser
JavaScript
73
star
11

nipp

πŸŽ’ Programmable portable App hosted on URL: https://nipp.nwtgck.org
Vue
68
star
12

piping-screen-share-web

πŸ–₯️ Screen Share via Piping Server with End-to-End Encryption
Vue
58
star
13

ssh-keygen-web

Generate a key-pair of ssh-keygen on Web browser
Vue
46
star
14

stacklover-rust

Zero-cost type for stack without complicated type or Box
Rust
45
star
15

piping-server-streaming-upload-htmls

fetch()'s streaming upload feature over Piping Server
HTML
36
star
16

go-fakelish

Fake English word generator for Go and CLI
Go
35
star
17

http-knocking

πŸšͺHTTP-Knocking hides a Web server and open it by knocking sequence: Hide Web server until your knocks
TypeScript
27
star
18

piping-draw-web

🎨 End-to-End Encryption Share Drawing via Piping Server
Vue
26
star
19

ts-json-validator

JSON Validator for TypeScript - Safer JSON.parse() validating by TypeScript types
TypeScript
26
star
20

typescript-on-browser-starter

Starter for TypeScript on Web Browser
JavaScript
24
star
21

piping-chat-web

πŸ’¬ Chat via Piping Server with End-to-End Encryption
TypeScript
24
star
22

web-ssh-keygen

πŸ”’πŸ”‘ Generate a key-pair of ssh-keygen for Web browser
TypeScript
23
star
23

go-piping-server

Piping Server written in Go language (original: https://github.com/nwtgck/piping-server)
Go
22
star
24

piping-server-pkg

Piping Server as portable executable
22
star
25

go-piping-tunnel

Tunneling from anywhere via Piping Server
Go
20
star
26

docker-nginx-http3

Docker image for Nginx + HTTP/3 powered by Quiche
Dockerfile
19
star
27

yamux-cli

TCP and UDP multiplexer using yamux
Go
17
star
28

rich-piping-server

Rich Piping Server
TypeScript
13
star
29

go-webrtc-piping

WebRTC P2P tunneling/duplex with Piping Server WebRTC signaling
Go
12
star
30

piping-phone-web

πŸ“ž Real-time Voice Messaging over HTTP/HTTPS for Web Browser via Piping Server
Vue
12
star
31

piping-vnc-server-for-windows

Instant remote desktop for Windows from anywhere powered by UltraVNC Server and Piping Server
Vue
12
star
32

trans-server-akka

A Server for Transmitting File by curl or wget: Transfer data over HTTP/HTTPS
Scala
11
star
33

ray-tracing-iow-scala

Ray Tracing in One Weekend written in Scala
Scala
11
star
34

multi-svr-python

SVR for multidimensional labels
Python
10
star
35

platy-lang-haskell

Platy Language Compiler by Haskell & LLVM: Declarative, Statically typed and Simple to implement language
Haskell
10
star
36

handy-sshd

Portable SSH Server
Go
9
star
37

piping-webcodecs-screen-share-prototype-web

Vue
9
star
38

piping-chunk-web

πŸ“¦ Chunked Stream File Transfer for Web Browser with End-to-End Encrypted
Vue
9
star
39

ghost-nginx-http3-docker-compose

Ghost + Nginx + HTTP/3 powered by Quiche in Docker Compose, Example of https://github.com/nwtgck/docker-nginx-http3
8
star
40

math2image-npm

CLI for generating beautiful SVG/PNG mathematical image βˆ‘ ∫ π² ∞
TypeScript
7
star
41

docker-mkp224o

Docker image for mkp224o - generate vanity onion v3 address
Dockerfile
6
star
42

piping-adb-web

Android Debug Bridge (ADB) over Piping Serer on Web browser
TypeScript
6
star
43

docker-node-quic

Docker image for Node.js with QUIC
Dockerfile
6
star
44

math2img

Convert LaTeX Math to image
Crystal
6
star
45

docker-rust-musl-builder

original: https://github.com/emk/rust-musl-builder
Dockerfile
6
star
46

ts-copyable-npm

Type-safe #copy() for TypeScript inspired by Scala case-class
TypeScript
6
star
47

cmat2scores-python

Calculate accuracy, precision, recall and f-measure from confusion matrix
Python
6
star
48

tableau-solver-haskell

Tableau method solver in Haskell
Haskell
6
star
49

neural-network-dot

Neural Network by Graphviz
5
star
50

sw-force-download-web

Force download cross-origin file with Service Worker
HTML
5
star
51

go-piping-sshd

SSH server from anywhere with Piping Server
Go
5
star
52

cosense-bookmark-bookmarklet

JavaScript
5
star
53

tcphttp-server

TCP-over-HTTP server: Clients can use it with curl and perhaps browser
TypeScript
5
star
54

aes128gcm-stream-npm

πŸ›‘128-bit AES-GCM Encryption Stream for Web Browsers
TypeScript
5
star
55

specit-rust

Smoothly writing test titles in Rust
Rust
5
star
56

piping-server-onion-service-replit

Super easy to host Piping Server as Onion Service
Shell
4
star
57

comment-run-scripts

Scripts for comment-run action
TypeScript
4
star
58

tiny-http-piping-server-rust

Piping Server written in Rust with tiny-http
Rust
3
star
59

docker-nghttp2

Docker image of nghttpx with HTTP/3
Dockerfile
3
star
60

piping-server-zig

Piping Server in Zig (experimental)
Zig
3
star
61

qrcode-typescript-react

Real-time QR code generator written in TypeScript + React
TypeScript
3
star
62

piping-ui-web-onion-service-docker-compose

Piping UI as Onion Service
Dockerfile
3
star
63

docker-piping-server-rust-multi-platform

Multi-platform Piping Server in Rust Docker images
Dockerfile
3
star
64

private-ip-getter-npm

Private IP Getter for Web Browser
TypeScript
3
star
65

jwk-thumbprint-npm

JWK Thumbprint for JavaScript/TypeScript on both Web Browser and Node.js
TypeScript
3
star
66

assertion-haskell

Assertion with condition string representation in Haskell.
Haskell
3
star
67

go-piping-duplex

Duplex communication over Piping Server
Go
3
star
68

piping-server-onion-service-docker-compose

Piping Server as Onion Service
Shell
3
star
69

nwtgck-hypermd

HyperMD Quick Start
HTML
3
star
70

ibk

πŸ’Ύ Incremental Backup CLI using well-matured technology: tar
Go
3
star
71

binconv-npm

Converters for Blob, Uint8Array, ReadableStream, ArrayBuffer, string in JavaScript/TypeScript
TypeScript
3
star
72

digestream

CLI for streaming message digest calculator - Insert into pipe, get the digest in tty
Go
3
star
73

trans-server-tor-docker-compose

Trans server as Tor Hidden Service
Dockerfile
3
star
74

mac-sandbox

[WIP] Sandbox for macOS
Ruby
2
star
75

data-url-server

A server providing Data URL resource
JavaScript
2
star
76

docker-graalvm-node-piping-server

Docker image for Piping Server on Node.js on GraalVM
Dockerfile
2
star
77

actions-merge-preview

GitHub Actions for pull-request merge preview
TypeScript
2
star
78

jwt-piping-server

Piping Server with JWT authentication such as Auth0
TypeScript
2
star
79

cloudflare-pages-with-github-actions-prac

HTML
2
star
80

gh-language-colors-npm

GitHub Language Colors for JavaScript/TypeScript
TypeScript
2
star
81

egghead-todo-typescript-react

Type-safe TODO list app in React + Redux + TypeScript
TypeScript
2
star
82

tmpl

General Template Engine for Repository: "Keep your best practice as template"
Go
2
star
83

whoogle-search-replit

Whoogle Search which is easy to update on Replit
2
star
84

mac-screen-stream

[WIP] Screen Record Streaming for macOS
2
star
85

8cc-elc-hs

C Compiler written in Haskell powered by 8cc and ELVM
Haskell
2
star
86

verbose

CLI which makes your input verbose, flooding buffer
Go
2
star
87

piping-server-check

Check quality of Piping Server
Go
2
star
88

piping-phone-android

WIP: πŸ“ž Real-time Voice Messaging over HTTP/HTTPS for Android via Piping Server
Kotlin
2
star
89

go-socks

SOCKS4, SOCKS4a and SOCKS5 proxy server in Go
Go
2
star
90

knapsack-elvm-haskell

Knapsack problem solver converted from C language by ELVM.
Haskell
2
star
91

svg-badge-scala

SVG Badge maker in Scala
Scala
2
star
92

event-loop-imitation-scala

Imitation of Event Loop in Scala
Scala
2
star
93

github-back-chrome-extension

A Chrome Extension which allows you to get initial commit on GitHub
JavaScript
2
star
94

docker-host-web

Docker image of web server printing hostname of Docker container
JavaScript
2
star
95

whoogle-search-onion-service-replit

Shell
2
star
96

promise-http-server-npm

Promise-based HTTP server for JavaScript/TypeScript: using accept(), easy to use in async-await context
TypeScript
2
star
97

piping-server-nginx-docker-compose

Piping Server with Nginx using Docker Compose, which might be helpful to write nginx.conf for Piping Server.
2
star
98

http2-http1-server-node

HTTP/2-interface HTTP1 server for compatibility for Node.js/TypeScript
TypeScript
2
star
99

nwtgck

1
star
100

piping-server-command-web

Piping Server Command Cheatsheet
TypeScript
1
star