Skip to content

feat(ui): select time ui #6

feat(ui): select time ui

feat(ui): select time ui #6

Workflow file for this run

name: Deploy to production
on:
workflow_dispatch:
push:
branches:
- main
paths:
- ".github/workflows/deploy.yml"
- "package.json"
- "tsconfig.json"
- "nuxt.config.ts"
- "tailwind.config.js"
- "app.vue"
- "components/**"
- "content/**"
- "public/**"
- "layouts/**"
- "server/**"
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Deps
run: npm i
- name: Build
run: npm run build --preset=cloudflare_pages
- name: Deploy
uses: cloudflare/wrangler-action@v3
# env:
# YOUR_SECRET: ${{ secrets.YOUR_SECRET }}
# YOUR_OTHER_SECRET: ${{ secrets.YOUR_OTHER_SECRET }}
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy ./dist --project-name agendate
# secrets: |
# YOUR_SECRET
# YOUR_OTHER_SECRET