Workflow job is stuck in waiting status

workflow

#1

I have copied deploy example from the documentation, but my deploy job is forever stuck in “waiting” state (purple color). The workflow stays in “running” state until I cancel it.

My config:

version: 2

jobs:
  build:
    docker:
      - image: circleci/node:latest
    steps:
      - checkout
      - restore_cache:
          keys:
          - v1-dependencies-{{ checksum "package.json" }}
          - v1-dependencies-

      - run: npm install
      - save_cache:
          paths:
            - node_modules
          key: v1-dependencies-{{ checksum "package.json" }}  
      - run: ./node_modules/webpack/bin/webpack.js
  deploy:
    docker:
      - image: circleci/node:latest
    steps:
      - run: echo "Deploying" 

workflows:
  version: 2
  build-deploy:
    jobs:
      - build
      - deploy:
          requires:
            - build
          filters:
            branches:
              only: master

#2

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.