Skip to content

Commit

Permalink
Update pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tradersnow222 authored Jul 17, 2024
1 parent 205ab8e commit 71af8f7
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,3 @@ jobs:
- name: Build production
run: pnpm run build

deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.18.2'

- name: Install pnpm and dependencies
run: |
npm install -g [email protected]
pnpm install
- name: Build production
run: pnpm run build

- name: Deploy to Cloudflare Pages
if: github.ref == 'refs/heads/main'
uses: cloudflare/wrangler-action@v3
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_PAGES_API_TOKEN }}
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_API_TOKEN }}
accountId: e34eeb161ddd9fee77da1de105a9141b
projectName: governance-1inch-community
directory: build
branch: main
packageManager: pnpm
command: pages deploy ./build --project-name=governance-1inch-community --branch=main --commit-dirty=true

0 comments on commit 71af8f7

Please sign in to comment.