Skip to content

Commit 83e1dd3

Browse files
committed
fix: (update config path)
1 parent 558eddc commit 83e1dd3

File tree

2 files changed

+110
-0
lines changed

2 files changed

+110
-0
lines changed

.github/workflows/automation.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
create:
7+
8+
jobs:
9+
changelog:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
15+
# debuging action
16+
# - name: Setup tmate session
17+
# uses: mxschmitt/action-tmate@v3
18+
19+
20+
# - uses: actions/setup-node@v1
21+
# with:
22+
# node-version: 12
23+
# registry-url: https://npm.pkg.github.com/
24+
# scope: '@cocreate-app'
25+
# - run: npm publish --access=public
26+
# env:
27+
# NODE_AUTH_TOKEN: ${{secrets.GITHUB}}
28+
29+
30+
# overwrite description and keyworkds
31+
- name: Jaid/action-sync-node-meta
32+
uses: jaid/action-sync-node-meta@v1.4.0
33+
with:
34+
direction: overwrite-github # default is overwrite-file
35+
githubToken: ${{ secrets.GITHUB }}
36+
37+
# Auto Changog generator
38+
- name: Semantic Release
39+
uses: cycjimmy/semantic-release-action@v2
40+
with:
41+
# You can specify specifying version range for the extra plugins if you prefer.
42+
extra_plugins: |
43+
@semantic-release/changelog
44+
@semantic-release/npm
45+
@semantic-release/git
46+
@semantic-release/github
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
50+
51+
- name: setup nodejs
52+
uses: actions/setup-node@v2
53+
with:
54+
node-version: 'v10.16.0'
55+
56+
# - name: build production version
57+
- run: yarn install --frozen-lockfile
58+
59+
- name: update documentation
60+
run: npm run html
61+

CoCreate.config.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"socket": {
3+
"config": {
4+
"apiKey": "c2b08663-06e3-440c-ef6f-13978b42883a",
5+
"securityKey": "f26baf68-e3a9-45fc-effe-502e47116265",
6+
"organization_Id": "5de0387b12e200ea63204d6c"
7+
},
8+
"host": "server.cocreate.app:8088"
9+
},
10+
11+
// Source files to upload to CoCreate
12+
"sources": [
13+
{
14+
"path": "./src/index.html",
15+
"collection": "module-views",
16+
"document_id": "5f08bf3da588c11bf8ead4b3",
17+
"name": "html",
18+
},
19+
{
20+
"collection":"website-pages",
21+
"document_id":"",
22+
"name":"html",
23+
"domains":["ws.cocreate.app"],
24+
"route":"/signup",}
25+
},
26+
]
27+
28+
/* Comment parse and upload to CoCreate */
29+
30+
// Directory to parse for comments and upload to CoCreate
31+
// "directory": "./test_files/",
32+
// "extensions": [
33+
// "js",
34+
// "css",
35+
// "html"
36+
// ],
37+
// "ignores": [
38+
// "node_modules",
39+
// "vendor",
40+
// "bower_components",
41+
// "archive"
42+
// ],
43+
44+
// "permissions": {
45+
// "apiKey": "c2b08663-06e3-440c-ef6f-13978b42883a",
46+
// "securityKey": "f26baf68-e3a9-45fc-effe-502e47116265",
47+
// "organization_Id": "5de0387b12e200ea63204d6c"
48+
// },
49+
}

0 commit comments

Comments
 (0)