Skip to content

Commit

Permalink
ci: auto deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
noyyyy committed Aug 21, 2023
1 parent 46225ad commit 2aba983
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: deploy to vercel dev
name: nightly deploy to vercel dev

on:
push:
branches:
- develop
workflow_dispatch:
schedule:
- cron: "0 20 * * *"

env:
FOUNDRY_PROFILE: ci
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}

permissions:
pull-requests: write
Expand All @@ -24,6 +25,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
ref: "develop" # checkout develop

- uses: pnpm/[email protected]
name: Install pnpm
Expand All @@ -45,6 +47,9 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: deploy on alt layer
run: cd packages/contracts; pnpm run deploy:alt

- name: build
run: pnpm build

Expand All @@ -58,4 +63,3 @@ jobs:
working-directory: ./packages/client/dist
vercel-args: "--prod" #Optional
scope: ${{secrets.TEAM_SLUG_DEV}}
alias-domains: "vercel-autochessia-dev.vercel.app"

0 comments on commit 2aba983

Please sign in to comment.