Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@JacobDB
Forked from RafalSladek/ .gitlab-ci.yml
Last active March 10, 2020 13:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JacobDB/2f665c82d018ccefa8b86c61542d949e to your computer and use it in GitHub Desktop.
Save JacobDB/2f665c82d018ccefa8b86c61542d949e to your computer and use it in GitHub Desktop.
gitlab ci file for gulp build pipeline with the latest nodejs
image: node:latest
cache:
paths:
- node_modules/
before_script:
- npm install -g gulp
- npm install
stages:
- build_deploy
build_&_deploy_app:
stage: build_deploy
only:
- master
script:
- gulp build -production
- gulp deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment