Skip to content

Commit

Permalink
pipeline: add/vercel workflow
Browse files Browse the repository at this point in the history
- to deploy "docs-test" version
  • Loading branch information
mrostamii committed Feb 7, 2024
1 parent e7b73f3 commit cdd8c66
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deploy-vercel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy to Vercel

on:
push:
branches:
- develop

jobs:
deploy-on-pr:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Vercel CLI
run: npm i -g vercel

- name: Deploy with Vercel and Get URL
id: vercel-deploy
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
run: vercel -t $VERCEL_TOKEN --yes --prod
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ package-lock.json
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.vercel

0 comments on commit cdd8c66

Please sign in to comment.