Skip to content

Commit

Permalink
chore: modify gha
Browse files Browse the repository at this point in the history
  • Loading branch information
Kohei Asai committed Feb 1, 2024
1 parent 51b580d commit d8ea13c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/vercel-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
- name: Prepare for Vercel CLI
run: |
mkdir .vercel
echo "${{ "{" }} \"projectId\": \"${{ inputs.vercel-project-id }}\", \"orgId\": \"${{ inputs.vercel-org-id }}\" ${{ "}" }}" > .vercel/project.json
echo "{{ "{" }} \"projectId\": \"${{ inputs.vercel-project-id }}\", \"orgId\": \"${{ inputs.vercel-org-id }}\" {{ "}" }}" > .vercel/project.json
shell: bash
- name: Deploy
id: deployment
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/vercel-prebuild/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
- name: Prepare for Vercel CLI
run: |
mkdir .vercel
echo "${{ "{" }} \"projectId\": \"${{ inputs.vercel-project-id }}\", \"orgId\": \"${{ inputs.vercel-org-id }}\", \"settings\": ${{ "{" }} \"createdAt\": 0, \"framework\": \"nextjs\", \"devCommand\": null, \"buildCommand\": \"next build\", \"outputDirectory\": null, \"rootDirectory\": null, \"directoryListing\": false, \"nodeVersion\": \"20.x\", \"analyticsId\": null ${{ "}" }} ${{ "}" }}" > .vercel/project.json
echo "{{ "{" }} \"projectId\": \"${{ inputs.vercel-project-id }}\", \"orgId\": \"${{ inputs.vercel-org-id }}\", \"settings\": {{ "{" }} \"createdAt\": 0, \"framework\": \"nextjs\", \"devCommand\": null, \"buildCommand\": \"next build\", \"outputDirectory\": null, \"rootDirectory\": null, \"directoryListing\": false, \"nodeVersion\": \"20.x\", \"analyticsId\": null {{ "}" }} {{ "}" }}" > .vercel/project.json
shell: bash
- name: Build
run: npx vercel build
Expand Down

0 comments on commit d8ea13c

Please sign in to comment.