Skip to content

Commit

Permalink
adding aws hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
Yassin-Samir committed Aug 25, 2024
1 parent 1a47f68 commit 8043225
Show file tree
Hide file tree
Showing 6 changed files with 27,612 additions and 3,650 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy

on:
push:
branches:
- aws-hosting

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"

- name: Install dependencies
run: npm ci

- name: Deploy
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
CLIENT_EMAIL: ${{ vars.CLIENT_EMAIL }}
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
NEXT_PUBLIC_SEARCH_ALGOLIA_KEY: ${{ secrets.NEXT_PUBLIC_SEARCH_ALGOLIA_KEY }}
run: |
npx sst deploy --stage prod
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,10 @@ yarn-error.log*
next-env.d.ts

#music assets
raw-music
raw-music

# sst
.sst

# open-next
.open-next
Loading

0 comments on commit 8043225

Please sign in to comment.