Browse Source

fix: include publish: docs in release-nocodb.yml

feat/0523-export-schema
Wing-Kam Wong 3 years ago committed by Raju Udava
parent
commit
a0bce79c61
  1. 10
      .github/workflows/publish-docs.yml
  2. 7
      .github/workflows/release-nocodb.yml

10
.github/workflows/publish-docs.yml

@ -1,14 +1,10 @@
name: "Publish : Docs" name: "Publish : Docs"
on: on:
push:
branches: [ master ]
paths:
- "packages/noco-docs/**"
release:
types: [ published ]
# Triggered manually # Triggered manually
workflow_dispatch: workflow_dispatch:
# Triggered by release-nocodb.yml
workflow_call:
jobs: jobs:
copy-file: copy-file:
@ -26,8 +22,6 @@ jobs:
cd packages/noco-docs cd packages/noco-docs
npm install npm install
npm run generate npm run generate
- name: Pushes generated output - name: Pushes generated output
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658 uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
env: env:

7
.github/workflows/release-nocodb.yml

@ -105,9 +105,14 @@ jobs:
DOCKERHUB_USERNAME: "${{ secrets.DOCKERHUB_USERNAME }}" DOCKERHUB_USERNAME: "${{ secrets.DOCKERHUB_USERNAME }}"
DOCKERHUB_TOKEN: "${{ secrets.DOCKERHUB_TOKEN }}" DOCKERHUB_TOKEN: "${{ secrets.DOCKERHUB_TOKEN }}"
# Publish Docs
publish-docs:
needs: release-docker
uses: ./.github/workflows/publish-docs.yml
# Change nocodb-sdk back to local path # Change nocodb-sdk back to local path
update-sdk-path: update-sdk-path:
needs: release-docker needs: publish-docs
uses: ./.github/workflows/update-sdk-path.yml uses: ./.github/workflows/update-sdk-path.yml
# Sync changes to develop # Sync changes to develop

Loading…
Cancel
Save