Skip to content

Instantly share code, notes, and snippets.

View mariojankovic's full-sized avatar

Mario Jankovic mariojankovic

View GitHub Profile
@mariojankovic
mariojankovic / gulpfile.js
Created July 3, 2018 21:11 — forked from mackensen/gulpfile.js
This is an example gulpfile for managing a WordPress theme with a custom (non-LESS) CSS stylesheet. It includes tools for bumping the version and updating the version references.
// List of modules used.
var gulp = require('gulp'),
bump = require('gulp-bump'), // Generates new version.
argv = require('yargs')
.default('release', 'patch')
.argv, // CLI parser.
fs = require('fs'), // Used by bump.
semver = require('semver'), // Used by bump.
git = require('gulp-git'), // Git wrapper.
jshint = require('gulp-jshint'), // Lints JS.
@mariojankovic
mariojankovic / .gitlab-ci.yml
Created December 20, 2018 17:57 — forked from gdomiciano/.gitlab-ci.yml
GitLab CI configuration for Nuxt.js Deployment
# Passos que o seu Servidor de CI deverá seguir (test/build/deploy)
stages:
- deploy
# nome da tarefa do CI
deploy_prod:
# Passo a que esta tarefa pertence
stage: deploy
# definição de comandos necessários para essa tarefa
script: