Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Selvesan selvesandev

🎯
Focusing
View GitHub Profile
@selvesandev
selvesandev / prod-deployment.yml
Last active May 24, 2023 13:10
Deploy your serverless framework aws lambda function from github actions
View prod-deployment.yml
name: Deploy to Production
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@selvesandev
selvesandev / buildspec.yaml
Created May 24, 2022 13:34
Deploy your serverless framework aws lambda function from aws code build
View buildspec.yaml
version: 0.2
phases:
install:
runtime-versions:
nodejs: 12
commands:
- npm install -g serverless
- npm install
- printenv
@selvesandev
selvesandev / log.js
Created May 24, 2022 13:30
Example Gist
View log.js
console.log('Logged successfully...');