Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Separate head meta tags per page #10

Separate head meta tags per page

Separate head meta tags per page #10

name: Deploy Internal Site on Main
on:
push:
branches:
- main
workflow_dispatch:
inputs:
branch:
description: "Branch to deploy"
required: true
default: "main"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm ci
- name: load UI envars
run: |
echo "$ENV_LOCAL" > .env
env:
ENV_LOCAL: ${{ secrets.ENV_LOCAL }}
- run: NODE_ENV=production npm run build
- uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.FIVECLAWD_CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.FIVECLAWD_CLOUDFLARE_ACCOUNT_ID }}
projectName: refresh-ui
directory: ./dist/client
branch: main