Skip to content

Commit

Permalink
feat: add heroku pipeline, filter fleek main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
toniocodo committed Oct 17, 2023
1 parent 1a4cb11 commit c60b04b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: ⚡ Deploy site via Fleek

on: push
on:
push:
branches:
- main

jobs:
deploy-to-fleek:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/heroku-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: ⚡ Deploy site via Heroku

on: push

jobs:
deploy-to-fleek:
runs-on: ubuntu-latest
env:
VITE_WALLET_CONNECT_PROJECT_ID: ${{ secrets.VITE_WALLET_CONNECT_PROJECT_ID }}
VITE_ALCHEMY_ID: ${{ secrets.VITE_ALCHEMY_ID }}
VITE_SENTRY_DSN: ${{ secrets.VITE_SENTRY_DSN }}
VITE_GTM_CONTAINER_ID: ${{ secrets.VITE_GTM_CONTAINER_ID }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install dependencies
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true

- name: Build
run: pnpm nx build oeth

- uses: akhileshns/heroku-deploy@v3.12.14
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: "defi-oeth"
heroku_email: "antoine@otiginprotocol.com"
appdir: "dist/apps/oeth"

0 comments on commit c60b04b

Please sign in to comment.