| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository is for the GitHub Action to deploy a NodeJS application to AWS Serverless.
Developers on GitHub can call this Action to take their current NodeJS application, and pass basic variables to help deploy thier application.
To use this GitHub Action you will need to complete the following:
In your repository you should have a workflows folder similar to below:
This file should have the following code:
---
###########################
###########################
## Deploy GitHub Actions ##
###########################
###########################
name: NodeJS AWS SAM Deploy
#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
#############################
# Start the job on all push #
#############################
on: ['push']
###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: NodeJS AWS SAM Deploy
# Set the agent to run on
runs-on: ubuntu-latest
##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@master
#############################
# Run NodeJS AWS SAM Deploy #
#############################
- name: NodeJS AWS SAM Deploy
uses: docker://admiralawkbar/aws-nodejs:latest
env:
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
...NOTE: You will need to create the GitHub Secrets for:
If you would like to help contribute to this Github Action, please see CONTRIBUTING
| Back | FazBrowse Home | New Git URL |