Skip to content

feat: add security page (#476) #148

feat: add security page (#476)

feat: add security page (#476) #148

Workflow file for this run

name: Autha/cloudflare
permissions:
contents: read
on:
push:
branches:
- master
jobs:
ci:
runs-on: ubuntu-latest
name: Build Nuxt
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: latest
- name: Mount NPM cache
uses: actions/cache@v3
with:
path: front/node_modules
key: node-${{ hashFiles('front/package.json') }}
restore-keys: |
node-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm install
working-directory: ./front
- name: Build Nuxt
run: npm run build
working-directory: ./front
env:
NITRO_PRESET: cloudflare
- name: Deploy to Cloudflare Workers
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: front