Skip to content

Merge pull request #8 from monaminandy/add-navbar #5

Merge pull request #8 from monaminandy/add-navbar

Merge pull request #8 from monaminandy/add-navbar #5

Workflow file for this run

name: Cloudflare Pages Deployment
on:
push:
branches:
- main
jobs:
cf:
name: Build & Deploy
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Publish
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: zeroday-alliance
directory: dist