Skip to content

Merge pull request #109 from soonaverse/impr/sdk-in-app #22

Merge pull request #109 from soonaverse/impr/sdk-in-app

Merge pull request #109 from soonaverse/impr/sdk-in-app #22

Workflow file for this run

name: Action | Auto deploy "develop" to wen.soonaverse.com
on:
push:
branches:
- develop
jobs:
publish:
runs-on: ubuntu-latest
environment: develop
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Dependencies
run: npm install
- name: Build project
run: npm run build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
branch: main
directory: dist