Skip to content

move browserifyPlumber function to global variable; only dist if publ… #9

move browserifyPlumber function to global variable; only dist if publ…

move browserifyPlumber function to global variable; only dist if publ… #9

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm i
- name: Build and deploy to GitHub Pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git config --local user.name github-actions-bot
git config --local user.email ${{ github.actor }}@users.noreply.github.com
npx gulp deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}