Skip to content

Commit

Permalink
Add npm script to copy file that ignores gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazerbeak12345 committed Apr 25, 2022
1 parent ef24011 commit d43b4db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ workflows:
# Inside the workflow, you define the jobs you want to run.
jobs:
- node/test:
# We don't have any executible code on the gh-pages branch.
# This filter likely will not work on it's own. If it doesn't, I'll
# copy this file into gh-pages every build.
# TODO research this and update this comment accordingly!
# We don't have any testable code on the gh-pages branch.
# This filter does not work on its own.
# This file is copied into gh-pages every build, and when that branch
# is checked, it now excludes itself.
filters:
branches:
ignore:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
"build:docs": "typedoc --name PixelManipulator --out docs --media media --includeVersion src/lib/*.ts",
"build:parcel": "parcel build",
"build:bundle": "browserify dist/browser.js -o dist/bundle.js --standalone pixelmanipulator",
"build": "npm run check && npm run build:docs && npm run build:parcel && npm run build:bundle",
"build:prepare-ci": "cp -r .circleci docs",
"build": "npm run check && npm run build:docs && npm run build:parcel && npm run build:bundle && npm run build:prepare-ci",
"updatedemo": "npm run build && gh-pages -d docs -m \"Update $npm_package_version\" -tf",
"node-demo": "ts-node src/node-demo",
"coverage": "npm run test"
Expand Down

0 comments on commit d43b4db

Please sign in to comment.