Skip to content

feat: use dark mode fluvio community logo (#98) #93

feat: use dark mode fluvio community logo (#98)

feat: use dark mode fluvio community logo (#98) #93

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
contents: write
deployments: write
steps:
- name: Checkout Source
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Setup NodeJS
uses: actions/setup-node@v4
- name: Install Dependencies
run: npm ci
- name: Build for Production
env:
NODE_ENV: production
run: npm run build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
directory: ./build
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: 'fluvio-docs'
branch: 'main'