Skip to content

Commit

Permalink
fix: Push legacy validator to separate pages repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nellh committed Apr 12, 2024
1 parent eec8aa9 commit bc0c196
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ jobs:
name: Clean and remove bids-validator files
command: git reset . && git clean --force -d --exclude bids-validator-web/out
- run:
name: Move build into root directory
command: mv bids-validator-web/out/* .
name: Move build into legacy directory
command: mv bids-validator-web/out/ legacy
- run:
name: Remove files not related to build
command: rm -r bids-validator bids-validator-web node_modules
Expand All @@ -200,14 +200,14 @@ jobs:
- run: git status
- run:
name: Commit updates
command: git add . && git commit --allow-empty --no-verify -m "Circle CI - Generate validator demo with version $CIRCLE_TAG [ci skip]"
command: git add legacy && git commit --allow-empty --no-verify -m "Circle CI - Generate validator demo with version $CIRCLE_TAG [ci skip]"
- run: git push origin gh-pages -f
- save_cache:
key: npm-deps-{{ checksum "package.json" }}-{{ checksum "./bids-validator/package.json" }}-{{ checksum "./bids-validator-web/package.json" }}-v1
paths:
- ./node_modules
- store_artifacts:
path: ~/
path: ~/legacy
workflows:
version: 2
build-deploy:
Expand Down Expand Up @@ -256,8 +256,3 @@ workflows:
- test
- test_docker
- githubPagesTest
filters:
branches:
ignore: /.*/
tags:
only: /v\d+\.\d+\.\d+$/

0 comments on commit bc0c196

Please sign in to comment.