Skip to content

Commit

Permalink
fix: (update config path)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jan 15, 2021
1 parent 558eddc commit 83e1dd3
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 0 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: CI

on:
push:
pull_request:
create:

jobs:
changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

# debuging action
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3


# - uses: actions/setup-node@v1
# with:
# node-version: 12
# registry-url: https://npm.pkg.github.com/
# scope: '@cocreate-app'
# - run: npm publish --access=public
# env:
# NODE_AUTH_TOKEN: ${{secrets.GITHUB}}


# overwrite description and keyworkds
- name: Jaid/action-sync-node-meta
uses: jaid/[email protected]
with:
direction: overwrite-github # default is overwrite-file
githubToken: ${{ secrets.GITHUB }}

# Auto Changog generator
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
# You can specify specifying version range for the extra plugins if you prefer.
extra_plugins: |
@semantic-release/changelog
@semantic-release/npm
@semantic-release/git
@semantic-release/github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: setup nodejs
uses: actions/setup-node@v2
with:
node-version: 'v10.16.0'

# - name: build production version
- run: yarn install --frozen-lockfile

- name: update documentation
run: npm run html

49 changes: 49 additions & 0 deletions CoCreate.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"socket": {
"config": {
"apiKey": "c2b08663-06e3-440c-ef6f-13978b42883a",
"securityKey": "f26baf68-e3a9-45fc-effe-502e47116265",
"organization_Id": "5de0387b12e200ea63204d6c"
},
"host": "server.cocreate.app:8088"
},

// Source files to upload to CoCreate
"sources": [
{
"path": "./src/index.html",
"collection": "module-views",
"document_id": "5f08bf3da588c11bf8ead4b3",
"name": "html",
},
{
"collection":"website-pages",
"document_id":"",
"name":"html",
"domains":["ws.cocreate.app"],
"route":"/signup",}
},
]

/* Comment parse and upload to CoCreate */

// Directory to parse for comments and upload to CoCreate
// "directory": "./test_files/",
// "extensions": [
// "js",
// "css",
// "html"
// ],
// "ignores": [
// "node_modules",
// "vendor",
// "bower_components",
// "archive"
// ],

// "permissions": {
// "apiKey": "c2b08663-06e3-440c-ef6f-13978b42883a",
// "securityKey": "f26baf68-e3a9-45fc-effe-502e47116265",
// "organization_Id": "5de0387b12e200ea63204d6c"
// },
}

0 comments on commit 83e1dd3

Please sign in to comment.