Skip to content

feat: added cv versioning in footer #6

feat: added cv versioning in footer

feat: added cv versioning in footer #6

name: cloudflare_deploy
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule: # Run every 1st of the month at 00:05 UTC, for resume/cv pdf generation
- cron: '5 0 1 * *'
jobs:
nuxt:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
node: [ 16 ]
steps:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Checkout
uses: actions/checkout@master
- name: Install Dependencies
run: npm install
- name: Generate PDFs
run: npm run dev & sleep 15 && npm run pdfgen
- name: Build
run: npm run build
env:
NITRO_PRESET: cloudflare
- name: Publish to Cloudflare
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}