This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Travis): Remove Circle CI dependency (#173)
- Loading branch information
Showing
2 changed files
with
11 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,3 +84,14 @@ jobs: | |
# Only release if it $PROJECT_RELEASE_BRANCH gets updated | ||
branch: $PROJECT_RELEASE_BRANCH | ||
repo: "contentacms/contenta_jsonapi" | ||
after_deploy: | ||
# Clone the demo site repo to trigger an automated. | ||
- git clone [email protected]:contentacms/contenta_jsonapi_demo.git contenta_jsonapi_demo | ||
# Navigate inside the cloned project. | ||
- cd contenta_jsonapi_demo | ||
- echo -e " * Profile update -> buildNum=[$CIRCLE_BUILD_NUM]($CIRCLE_BUILD_URL) on [$CIRCLE_PR_REPONAME]($CIRCLE_REPOSITORY_URL)@CIRCLE_SHA1\n" >> DEPLOYS.md | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Contenta CMS CI Bot" | ||
- git add DEPLOYS.md | ||
- 'git commit -m "ci(Deploy): Trigger a deploy to the demo site"' | ||
- git push origin master |