Skip to content

chore: 태그 생성 워크플로우 변경 #7

chore: 태그 생성 워크플로우 변경

chore: 태그 생성 워크플로우 변경 #7

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:

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

View workflow run for this annotation

GitHub Actions / Build and Vercel Preview Deployment on Main

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 15, Col: 3): Error calling workflow 'solid-connection/solid-connect-web/.github/workflows/headver-tagging.yml@a8e50b51e2a986ca95588bb5aa6071130ed87ead'. The nested job 'generate_tag' is requesting 'actions: write, attestations: write, checks: write, contents: write, deployments: write, discussions: write, issues: write, packages: write, pages: write, pull-requests: write, repository-projects: write, statuses: write, security-events: write, id-token: write', but[...]
uses: ./.github/workflows/headver-tagging.yml # 태깅 워크플로우 실행
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"