quivr/.github/workflows/vercel-preview.yml

23 lines
821 B
YAML
Raw Normal View History

name: Preview Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches: [ "main" ]
jobs:
Deploy-Preview:
2023-06-29 11:07:37 +03:00
environment: production
runs-on: ubuntu-latest
steps:
chore(deps): pin dependencies (#1975) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | pinDigest | -> `b4ffde6` | | [actions/setup-node](https://togithub.com/actions/setup-node) | action | pinDigest | -> `b39b52d` | | [actions/setup-python](https://togithub.com/actions/setup-python) | action | pinDigest | -> `65d7f2d` | | [aws-actions/amazon-ecr-login](https://togithub.com/aws-actions/amazon-ecr-login) | action | pinDigest | -> `2fc7ace` | | [aws-actions/amazon-ecs-deploy-task-definition](https://togithub.com/aws-actions/amazon-ecs-deploy-task-definition) | action | pinDigest | -> `df96430` | | [aws-actions/amazon-ecs-render-task-definition](https://togithub.com/aws-actions/amazon-ecs-render-task-definition) | action | pinDigest | -> `4225e0b` | | [aws-actions/configure-aws-credentials](https://togithub.com/aws-actions/configure-aws-credentials) | action | pinDigest | -> `5fd3084` | | darthsim/imgproxy | | pinDigest | -> `0facd35` | | [docker/build-push-action](https://togithub.com/docker/build-push-action) | action | pinDigest | -> `0a97817` | | [docker/build-push-action](https://togithub.com/docker/build-push-action) | action | pinDigest | -> `4a13e50` | | [docker/login-action](https://togithub.com/docker/login-action) | action | pinDigest | -> `465a078` | | [docker/login-action](https://togithub.com/docker/login-action) | action | pinDigest | -> `343f7c4` | | [docker/setup-buildx-action](https://togithub.com/docker/setup-buildx-action) | action | pinDigest | -> `885d146` | | [docker/setup-buildx-action](https://togithub.com/docker/setup-buildx-action) | action | pinDigest | -> `f95db51` | | [docker/setup-qemu-action](https://togithub.com/docker/setup-qemu-action) | action | pinDigest | -> `6882732` | | [google-github-actions/release-please-action](https://togithub.com/google-github-actions/release-please-action) | action | pinDigest | -> `db8f2c6` | | kong | | pinDigest | -> `1b53405` | | [pavelzw/pytest-action](https://togithub.com/pavelzw/pytest-action) | action | pinDigest | -> `510c5e9` | | postgrest/postgrest | | pinDigest | -> `23b2dab` | | python | final | pinDigest | -> `0c1fbb2` | | redis | | pinDigest | -> `a7cee7c` | | supabase/edge-runtime | | pinDigest | -> `4e02aac` | | supabase/gotrue | | pinDigest | -> `b503f1f` | | supabase/logflare | | pinDigest | -> `e693c78` | | supabase/postgres | | pinDigest | -> `fb8387f` | | supabase/postgres-meta | | pinDigest | -> `31a107d` | | supabase/realtime | | pinDigest | -> `634a59e` | | supabase/storage-api | | pinDigest | -> `2cd146f` | | supabase/studio | | pinDigest | -> `393669f` | | timberio/vector | | pinDigest | -> `4bc04ac` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/StanGirard/quivr). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-04 16:00:18 +03:00
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
submodules: 'true'
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
2023-06-29 11:59:55 +03:00
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}