Skip to content

Commit

Permalink
update old vercel.json format
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Dec 10, 2024
1 parent 13cd71a commit b31f45a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions actions/publish-vercel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,22 @@ runs:
- name: "Create temp vercel.json file"
shell: bash
run: |
cat <<EOF > vercel.json
cat <<EOF > .artifacts/docs/html/vercel.json
{
"version": 2,
"public": false,
"github": {
"enabled": false
},
"builds": [
{ "src": ".artifacts/docs/html", "use": "@vercel/static" }
]
"git": {
"deploymentEnabled": false
}
}
EOF
- uses: amondnet/vercel-action@v25.2.0 #deploy
with:
vercel-token: ${{ inputs.VERCEL_TOKEN }} # Required
#vercel-args: '--prod' #Optional
vercel-args: '--prod' #Optional
vercel-org-id: ${{ inputs.VERCEL_ORG_ID}} #Required
vercel-project-id: ${{ inputs.VERCEL_PROJECT_ID}} #Required
working-directory: ./
working-directory: .artifacts/docs/html


0 comments on commit b31f45a

Please sign in to comment.