Skip to content

Commit

Permalink
replaced cocreate/hosting with cocreate/cli run coc upload
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jun 10, 2023
1 parent cfdf751 commit 069208a
Showing 1 changed file with 38 additions and 15 deletions.
53 changes: 38 additions & 15 deletions .github/workflows/automated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,42 @@ jobs:
destination: /render/latest
acl: public-read
invalidations: true
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: setup nodejs
uses: actions/setup-node@v3
with:
node-version: 16
- name: update documentation
uses: CoCreate-app/CoCreate-docs@master
env:
organization_id: ${{ secrets.COCREATE_ORGANIZATION_ID }}
key: ${{ secrets.COCREATE_KEY }}
host: ${{ secrets.COCREATE_HOST }}
upload:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- name: Get Environment Variables
run: |
echo "organization_id=${{ secrets.COCREATE_ORGANIZATION_ID }}" >> $GITHUB_ENV
echo "key=${{ secrets.COCREATE_KEY }}" >> $GITHUB_ENV
echo "host=${{ secrets.COCREATE_HOST }}" >> $GITHUB_ENV
- name: Install @cocreate/cli
run: npm install -g @cocreate/cli

- name: CoCreate CLI Upload
run: coc upload

# docs:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: setup nodejs
# uses: actions/setup-node@v3
# with:
# node-version: 16
# - name: update documentation
# uses: CoCreate-app/CoCreate-docs@master
# env:
# organization_id: ${{ secrets.COCREATE_ORGANIZATION_ID }}
# key: ${{ secrets.COCREATE_KEY }}
# host: ${{ secrets.COCREATE_HOST }}

0 comments on commit 069208a

Please sign in to comment.