Skip to content

Commit

Permalink
ci: deployments on main (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
kentSarmiento authored Dec 19, 2023
1 parent f138e77 commit fc491b7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml → .github/workflows/lambda.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: release
name: lambda

on:
push:
branches: [ main ]

jobs:
release:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -23,4 +23,8 @@ jobs:
run: cargo lambda build --release

#- name: Deploy lambda
# run: cargo lambda deploy link-for-later
# run: cargo lambda deploy link-for-later-lambda
# env:
# AWS_DEFAULT_REGION: <YOUR-REGION>
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
13 changes: 13 additions & 0 deletions .github/workflows/shuttle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: shuttle

on:
push:
branches: [ main ]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: shuttle-hq/deploy-action@main
with:
deploy-key: ${{ secrets.SHUTTLE_API_KEY }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Link for Later Service

[![development](https://github.com/kentSarmiento/link-for-later-service/actions/workflows/development.yml/badge.svg?branch=main)](https://github.com/kentSarmiento/link-for-later-service/actions/workflows/development.yml) [![release](https://github.com/kentSarmiento/link-for-later-service/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/kentSarmiento/link-for-later-service/actions/workflows/release.yml)
[![development](https://github.com/kentSarmiento/link-for-later-service/actions/workflows/development.yml/badge.svg?branch=main)](https://github.com/kentSarmiento/link-for-later-service/actions/workflows/development.yml) [![shuttle](https://github.com/kentSarmiento/link-for-later-service/actions/workflows/shuttle.yml/badge.svg?branch=main)](https://github.com/kentSarmiento/link-for-later-service/actions/workflows/shuttle.yml) [![lambda](https://github.com/kentSarmiento/link-for-later-service/actions/workflows/lambda.yml/badge.svg?branch=main)](https://github.com/kentSarmiento/link-for-later-service/actions/workflows/lambda.yml)

Link for Later Service using Rust

Expand Down

0 comments on commit fc491b7

Please sign in to comment.