GithubHelp home page GithubHelp logo

danielcembranelli / github-to-s3-lambda-deployer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rafalwilinski/github-to-s3-lambda-deployer

0.0 2.0 0.0 8 KB

⚓️ GitHub webhook extension for uploading static pages to AWS S3 directly after commiting to master via Lambda

Home Page: http://rwilinski.me

JavaScript 100.00%

github-to-s3-lambda-deployer's Introduction

github-to-s3-lambda-deployer

Simple solution for deploying your static pages to S3 with every commit to master.

Setup
  1. Login to your AWS Account
  2. Go to Mobile Services -> SNS -> Topics and "Create new topic", name it something like 'github-deploy'
  3. Copy ARN
  4. Go to your projects page on GitHub, go to Settings -> Webhooks -> Add Service SNS and fill all the necessary information
  5. Clone this project and run npm run setup
  6. Open .env file and fill necessary information, paste ANR and AWS secrets here, AWS_CONFIRMATION_SNS_TOPIC_ANR is optional
  7. Dry run it with npm run dry-run
  8. If everything's k, run npm run deploy
  9. In AWS Lambda panel, go to your function -> Event Sources and click "Add event source" to link your

github-to-s3-lambda-deployer's People

Contributors

rafalwilinski avatar

Watchers

James Cloos avatar Daniel Cembranelli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.