Skip to content

Instantly share code, notes, and snippets.

@educkf
educkf / gist:6e47da30b5d3ba4e5064cc6ac1fdbf67
Last active December 3, 2020 14:13
Draft for Github action to deploy stuff to Digital Ocean droplets
name: Deploy to D.O. subfolder project
on:
push:
branches:
- staging
jobs:
build-deploy:
runs-on: ubuntu-latest
@educkf
educkf / snippet of package.json scripts
Last active November 25, 2022 01:40 — forked from ejlofgren/snippet of package.json scripts
Sample Split Vue Config Files
"scripts": {
"serve": "vue-cli-service serve",
"build:admin": "rimraf vue.config.js && copy vue.configAdmin.js vue.config.js && vue-cli-service build --dest dist/admin src/admin/main.js && rimraf vue.config.js && copy vue.configDefault.js vue.config.js",
"build:client": "rimraf vue.config.js && copy vue.configClient.js vue.config.js && vue-cli-service build --dest dist/client src/client/main.js && rimraf vue.config.js && copy vue.configDefault.js vue.config.js",
"lint": "vue-cli-service lint"
},