Compare commits

..

4 Commits

Author SHA1 Message Date
mguilbert abed8a9cf4 simplify vercel deployment steps in workflow
Deploy Vercel / deploy-preprod (push) Has been skipped
Deploy Vercel / deploy-production (push) Successful in 1m13s
2026-06-09 10:02:00 +02:00
mguilbert cd5928b9f7 update package lock
Deploy Vercel / deploy-preprod (push) Failing after 4m45s
Deploy Vercel / deploy-production (push) Has been skipped
2026-06-09 09:55:16 +02:00
mguilbert 1bfa94fff7 comment out test job steps in deployment workflow
Deploy Vercel / deploy-preprod (push) Failing after 6m6s
Deploy Vercel / deploy-production (push) Has been skipped
2026-06-09 09:43:36 +02:00
mguilbert ee653addc8 add a gitea action for deployment to vercel
Deploy Vercel / test (push) Has been cancelled
Deploy Vercel / deploy-preprod (push) Has been cancelled
Deploy Vercel / deploy-production (push) Has been cancelled
2026-06-09 09:34:30 +02:00
2 changed files with 129 additions and 0 deletions
+65
View File
@@ -0,0 +1,65 @@
name: Deploy Vercel
on:
push:
branches:
- main
- dev
pull_request:
jobs:
# test:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Setup Node
# uses: actions/setup-node@v4
# with:
# node-version: 20
# cache: npm
# - name: Install
# run: npm ci
# - name: Lint
# run: npm run lint --if-present
# - name: Test
# run: npm test --if-present
deploy-preprod:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev'
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy preprod
run: npx vercel@latest deploy --yes
deploy-production:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy production
run: npx vercel@latest deploy --prod --yes
+64
View File
@@ -2134,6 +2134,70 @@
"node": ">=14.0.0" "node": ">=14.0.0"
} }
}, },
"node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": {
"version": "1.8.1",
"dev": true,
"inBundle": true,
"license": "MIT",
"optional": true,
"dependencies": {
"@emnapi/wasi-threads": "1.1.0",
"tslib": "^2.4.0"
}
},
"node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": {
"version": "1.8.1",
"dev": true,
"inBundle": true,
"license": "MIT",
"optional": true,
"dependencies": {
"tslib": "^2.4.0"
}
},
"node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": {
"version": "1.1.0",
"dev": true,
"inBundle": true,
"license": "MIT",
"optional": true,
"dependencies": {
"tslib": "^2.4.0"
}
},
"node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": {
"version": "1.1.1",
"dev": true,
"inBundle": true,
"license": "MIT",
"optional": true,
"dependencies": {
"@emnapi/core": "^1.7.1",
"@emnapi/runtime": "^1.7.1",
"@tybys/wasm-util": "^0.10.1"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/Brooooooklyn"
}
},
"node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": {
"version": "0.10.1",
"dev": true,
"inBundle": true,
"license": "MIT",
"optional": true,
"dependencies": {
"tslib": "^2.4.0"
}
},
"node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/tslib": {
"version": "2.8.1",
"dev": true,
"inBundle": true,
"license": "0BSD",
"optional": true
},
"node_modules/@tailwindcss/oxide-win32-arm64-msvc": { "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
"version": "4.2.2", "version": "4.2.2",
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.2.2.tgz", "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.2.2.tgz",