Skip to content

Commit

Permalink
feat: fixed publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mbret committed Feb 23, 2024
1 parent 069c4db commit 5a953ea
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Web deploy vercel production
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
name: deploy-vercel

on:
push:
# Pattern matched against refs/tags
tags:
- "*" # Push events to every tag not containing /
workflow_call:
secrets:
VERCEL_ORG_ID:
required: true
VERCEL_PROJECT_ID:
required: true

jobs:
Deploy-Production:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Web bump version"
name: "Web Publish Prod"

on:
push:
Expand Down Expand Up @@ -31,3 +31,9 @@ jobs:
env:
NEW_TAG: ${{ steps.version-bump.outputs.newTag }}
run: echo "new tag $NEW_TAG"

deploy-vercel:
uses: ./.github/workflows/_deploy-vercel.yml
secrets:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

0 comments on commit 5a953ea

Please sign in to comment.