Skip to content

Commit 6c71faa

Browse files
committed
feat: Add environment variables for CoCreate API credentials
This commit adds environment variables for `organization_id`, `key`, and `host` for CoCreate API credentials. These variables are accessed from within the `docs` job in the `.github/workflows/automated.yml` file, allowing the automation to authenticate with CoCreate API using these credentials. Additionally, minor clean-up of code and error logging is done.
1 parent ce77731 commit 6c71faa

File tree

2 files changed

+255
-238
lines changed

2 files changed

+255
-238
lines changed

.github/workflows/automated.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ jobs:
6666
docs:
6767
runs-on: ubuntu-latest
6868
steps:
69+
env:
70+
organization_id: ${{ secrets.COCREATE_ORGANIZATION_ID }}
71+
key: ${{ secrets.COCREATE_KEY }}
72+
host: ${{ secrets.COCREATE_HOST }}
6973
- name: Checkout
7074
uses: actions/checkout@v3
7175
- name: setup nodejs

0 commit comments

Comments
 (0)