nwtgck / Actions Netlify
Licence: mit
🚀 Netlify deploy from GitHub Actions
Stars: ✭ 138
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Actions Netlify
Build
Netlify Build runs the build command, Build Plugins and bundles Netlify Functions.
Stars: ✭ 135 (-2.17%)
Mutual labels: netlify, deployment
Eleventy Starter Boilerplate
🚀 Eleventy Starter is production-ready with SEO-friendly for quickly starting a blog. ⚡ Built with Eleventy, ESLint, Prettier, Webpack, PostCSS, Tailwind CSS and Netlify CMS (optional).
Stars: ✭ 139 (+0.72%)
Mutual labels: netlify, static-site
Headlesscms.org
Source for headlesscms.org
Stars: ✭ 628 (+355.07%)
Mutual labels: netlify, static-site
Skeleventy
A skeleton boilerplate built with Eleventy.
Stars: ✭ 318 (+130.43%)
Mutual labels: netlify, static-site
Next Js Blog Boilerplate
🚀 Nextjs Blog Boilerplate is starter code for your blog based on Next framework. ⚡️ Made with Nextjs, TypeScript, ESLint, Prettier, PostCSS, Tailwind CSS.
Stars: ✭ 134 (-2.9%)
Mutual labels: netlify, static-site
Discharge
⚡️ A simple, easy way to deploy static websites to Amazon S3.
Stars: ✭ 483 (+250%)
Mutual labels: static-site, deployment
Gatsby Starter Ghost
A starter template to build lightning fast websites with Ghost & Gatsby
Stars: ✭ 752 (+444.93%)
Mutual labels: netlify, static-site
websync
Like `aws s3 sync` with automatic CloudFront invalidations and more.
Stars: ✭ 45 (-67.39%)
Mutual labels: deployment, static-site
Netlify Cms React Starter
A starter project for creating lightning-fast, offline-first websites with Netlify-CMS and React
Stars: ✭ 78 (-43.48%)
Mutual labels: netlify, static-site
nextjs-blog-starter-kit
NextJS Blog + Contentful Typescript Starter kit with Static Export 🚀
Stars: ✭ 56 (-59.42%)
Mutual labels: static-site, netlify
artisan-static
A feature-rich starter template for building a static Jigsaw blog hosted on Netlify.
Stars: ✭ 40 (-71.01%)
Mutual labels: static-site, netlify
Gatsby Starter Gcn
A starter template to build amazing static websites with Gatsby, Contentful and Netlify
Stars: ✭ 488 (+253.62%)
Mutual labels: netlify, static-site
landing
This project builds the static and internationalized landing page of Upplication.
Stars: ✭ 26 (-81.16%)
Mutual labels: static-site, netlify
Scottyjs
Deploy static websites and single page apps to AWS S3 and CloudFront with a single command
Stars: ✭ 712 (+415.94%)
Mutual labels: static-site, deployment
bubo-rss
An irrationally minimalist, static RSS feed reader you can instantly deploy on Netlify, Glitch or your own server.
Stars: ✭ 41 (-70.29%)
Mutual labels: static-site, netlify
Netlify Rebuild
WordPress Plugin to trigger Netlify rebuild
Stars: ✭ 19 (-86.23%)
Mutual labels: netlify, static-site
Confetti
🎉 A tool to help creating and deploying static sites with AWS
Stars: ✭ 96 (-30.43%)
Mutual labels: static-site, deployment
actions-netlify
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-18.04
steps:
- uses: actions/[email protected]
# ( 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
.
- NOTE: API ID is
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 tonetlify.toml
(default: undefined) -
functions-dir
Netlify functions output directory (default: undefined) -
alias
Specifies the prefix for the deployment URL (default: Netlify build ID)-
alias: ${{ github.head_ref }}
replicates the branch deploy prefix -
alias: deploy-preview-${{ github.event.number }}
replicates the deploy preview prefix
-
-
github-deployment-environment
Environment name of GitHub Deployments
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
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].