Skip to content

Commit

Permalink
Deploy main site
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw committed Jan 23, 2024
1 parent 4c2764e commit fc6cae4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy-gg-web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
on:
push:
paths:
- 'gg-mono/apps/react-frontend/**'
jobs:
deploy:
runs-on: ubuntu-latest
env:
TURBO_URL: ${{ secrets.TURBO_URL }}
TURBO_CODE: ${{ secrets.TURBO_CODE }}
defaults:
run:
working-directory: gg-mono
permissions:
contents: read
deployments: write
name: Deploy
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 8.14.1
- name: install dependencies
run: pnpm install --frozen-lockfile
- name: build
run: cd apps/react-frontend && pnpm build:ci
- name: deploy dashboard
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: gg-app
directory: gg-mono/apps/react-frontend/dist # e.g. 'dist'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fc6cae4

Please sign in to comment.