Skip to content

Commit 49f5904

Browse files
committed
build: pull changes before compodoc
1 parent 4a881de commit 49f5904

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ branches:
1616
env:
1717
global:
1818
- BRANCH=$TRAVIS_BRANCH
19+
- GITHUB_REPO_OWNER=mpgp
20+
- GITHUB_REPO_NAME=mpgp.github.io
1921
- GITLAB_REPO_OWNER=mpgp
2022
- GITLAB_REPO_NAME=mpgp.github.io
2123
- DOCKER_IMAGE_OWNER=mpgp129

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"always",
3535
[
3636
"core",
37+
"main",
3738
"shared",
3839
"docs",
3940
"spec"

scripts/ci/3_before_script.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
COMMANDS_TO_RUN+=('echo 3_before_script.sh ...')
22
COMMANDS_TO_RUN+=('yarn run lint')
3-
COMMANDS_TO_RUN+=('yarn run build')
4-
COMMANDS_TO_RUN+=('yarn run compodoc')
3+
COMMANDS_TO_RUN+=('yarn run build')

scripts/ci/5_deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
COMMANDS_TO_RUN+=('echo 5_deploy.sh ...')
22
COMMANDS_TO_RUN+=('npx semantic-release --branch $BRANCH')
3+
COMMANDS_TO_RUN+=('git remote add github https://github.com/$GITHUB_REPO_OWNER/$GITHUB_REPO_NAME.git')
4+
COMMANDS_TO_RUN+=('git pull github $BRANCH')
5+
COMMANDS_TO_RUN+=('yarn run compodoc')
36
COMMANDS_TO_RUN+=('bash scripts/bash_runner.sh scripts/gitlab_sync.sh')
47
COMMANDS_TO_RUN+=('bash scripts/bash_runner.sh scripts/docker_hub.sh')

0 commit comments

Comments
 (0)