Skip to content

Commit

Permalink
Add v1 deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
omurovec authored Aug 15, 2024
1 parent 7fa58ff commit 453141c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/deploy-v1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Deploy v1

on:
push:
branches:
- v1

jobs:
site-deploy:
runs-on: ubuntu-latest

defaults:
run:
shell: bash
working-directory: .

env:
NEXT_PUBLIC_ALCHEMY_API_KEY: "K6mtTYHuGxIcaIPnfj71QjrGAXtHfUIj"
NEXT_PUBLIC_SUBGRAPH_URL: "https://api.thegraph.com/subgraphs/name/dyadstablecoin/dnft"
NEXT_PUBLIC_WALLETCONNECT_ID: "7d57012cde8b449998792e223c4daebf"

steps:
- uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 20.x

- name: Build
run: npx @cloudflare/next-on-pages@1

- name: Deploy
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: pages deploy --project-name=v1 .vercel/output/static

0 comments on commit 453141c

Please sign in to comment.