-
-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Labels
Milestone
Description
HI.
The setup in my .yml file is:
name: Deployment
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Set build id'
id: build_id
run: echo "::set-output name=id::$(date +%s)"
- name: Deploy master branch
if: github.ref == 'refs/heads/master'
uses: amondnet/[email protected]+2
with:
vercel-token: ${{ secrets.ZEIT_TOKEN }}
vercel-args: '--prod -b BUILD=${{ steps.build_id.outputs.id }} -b BUILD_BRANCH=master -b ENVIRONMENT=production'
vercel-org-id: ${{ secrets.ZEIT_ORG_ID }}
vercel-project-id: ${{ secrets.ZEIT_PRODUCTION_PROJECT_ID }}
On push to master the action gets triggered but when it finishes action log says it failed (even tho code gets deployed and logs on vercel.com confirm succesful deployment)
Action logs:
https://*****************.vercel.app- Queued
- Queued
- Building
- Building
Production: https://***************** [3m]
Due to "builds" existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
set preview-url output
/usr/local/bin/npx vercel inspect https://*****************.vercel.app -t ***
Vercel CLI 19.2.0
Vercel CLI 19.2.0
- Fetching deployment "https://*****************.vercel.app" in *****
- Fetching deployment "https://*****************.vercel.app" in *****
Error! Failed to find deployment "https://*****************.vercel.app" in *****
Error! Failed to find deployment "https://*****************.vercel.app" in *****
##[error]The process '/usr/local/bin/npx' failed with exit code 1
Any ideas?
AlexRekish, dnnsk and christianjuth