Skip to content

Merge pull request #173 from MarckFp/renovate/serde-monorepo #152

Merge pull request #173 from MarckFp/renovate/serde-monorepo

Merge pull request #173 from MarckFp/renovate/serde-monorepo #152

Workflow file for this run

name: 'Staging 🚀'
on:
push:
branches:
- main
jobs:
deploy-web:
name: 'Web 🌐'
runs-on: ubuntu-latest
concurrency:
group: deploy-web-staging
cancel-in-progress: true
permissions:
contents: write
environment:
name: staging
url: https://dev.ppocgen.com
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- uses: actions/cache@v4
with:
key: bun-cache
path: ~/.bun/install/cache
- run: bun install
- run: bun run build
env:
NODE_ENV: 'production'
PPOCGEN_ENV: 'staging'
VITE_PPOCGEN_ENV: 'staging'
ADAPTER: 'cloudflare'
# - run: bun run cloudflare-headers
- uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: dev-ppoc-gen
directory: .svelte-kit/cloudflare
wranglerVersion: '3'