Skip to content

chore(ci): split link checking into offline PR gate and scheduled ext… #1591

chore(ci): split link checking into offline PR gate and scheduled ext…

chore(ci): split link checking into offline PR gate and scheduled ext… #1591

Workflow file for this run

name: Docs Deploy
on:
push:
branches: [master]
jobs:
deploy:
runs-on: ubuntu-latest
environment: Production
permissions:
contents: read
packages: write
deployments: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: vuetifyjs/setup-action@fb6949e3ee1041636b7fa9eef3c7694ff31840b8 # master
- name: Restore OG images cache
uses: actions/cache@v4
with:
path: apps/docs/node_modules/.cache/og-images
key: og-images-${{ hashFiles('apps/docs/build/og-images-worker.ts', 'apps/docs/build/generate-og-images.ts', 'apps/docs/build/fonts/**') }}
restore-keys: |
og-images-
- name: Restore API metadata cache
uses: actions/cache@v4
with:
path: apps/docs/node_modules/.cache/api-cache.json
key: api-cache-${{ hashFiles('packages/0/src/components/**', 'packages/0/src/composables/**', 'apps/docs/build/generate-api.ts') }}
- run: pnpm run build:docs
env:
VITE_API_SERVER_URL: ${{ vars.API_SERVER_URL }}
VITE_GITHUB_SHA: ${{ github.sha }}
- uses: vuetifyjs/coolify-action@f24a3716773c4c238e67c4bf0319c410bafc52de # master
with:
imageName: v0-docs
dockerfilePath: ./apps/docs/Dockerfile
token: ${{ secrets.GITHUB_TOKEN }}
coolifyWebhook: ${{ secrets.COOLIFY_WEBHOOK }}
coolifySecret: ${{ secrets.COOLIFY_TOKEN }}