feat: add heroku pipeline, filter fleek main branch #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
with: | |
heroku_api_key: ${{ secrets.HEROKU_API_KEY }} | |
heroku_app_name: "defi-oeth" | |
heroku_email: "[email protected]" | |
appdir: "dist/apps/oeth" |