Skip to content

chore: build 워크플로우에 버저닝 생성 추가 #2

chore: build 워크플로우에 버저닝 생성 추가

chore: build 워크플로우에 버저닝 생성 추가 #2

Workflow file for this run

name: Build and Vercel Preview Deployment on Main
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_ENV: preview
on:
push:
branches:
- main
- chore/tag-cd
jobs:
generate_tag:
uses: ./.github/workflows/heaver-tagging.yml # 태깅 워크플로우 실행

Check failure on line 16 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build.yml" -> "./.github/workflows/heaver-tagging.yml" : failed to fetch workflow: workflow was not found.
with: {}
Deploy-Preview:
runs-on: ubuntu-latest
needs: generate_tag
env:
VERSION_TAG: ${{ needs.generate_tag.outputs.version }}
steps:
- uses: actions/checkout@v3
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=${{ env.VERCEL_ENV }} --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --yes --target=${{ env.VERCEL_ENV }} --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --target=${{ env.VERCEL_ENV }} --token=${{ secrets.VERCEL_TOKEN }}
- name: Output Tag Version
run: echo "Deployment completed for version $VERSION_TAG"