Browse Source

chore(action): update action version

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/843/head
Pranav C 3 years ago
parent
commit
dc1cbd09e2
  1. 3
      .github/workflows/publish-blog.yml
  2. 3
      .github/workflows/publish-book.yml
  3. 6
      .github/workflows/publish-docs.yml
  4. 3
      .github/workflows/publish-noco-i18n.yml

3
.github/workflows/publish-blog.yml

@ -30,10 +30,11 @@ jobs:
- name: Pushes generated output - name: Pushes generated output
if: ${{ env.CHANGED == 'OK' }} if: ${{ env.CHANGED == 'OK' }}
uses: dmnemec/copy_file_to_another_repo_action@3fe42250d47e0764da9de9939b151b09a26e5857 uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
env: env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }} API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
with: with:
clear_folder: 'docs/dist'
source_file: 'packages/noco-blog/dist/' source_file: 'packages/noco-blog/dist/'
destination_repo: 'nocodb/noco-blog' destination_repo: 'nocodb/noco-blog'
destination_folder: 'docs' destination_folder: 'docs'

3
.github/workflows/publish-book.yml

@ -30,10 +30,11 @@ jobs:
- name: Pushes generated output - name: Pushes generated output
if: ${{ env.CHANGED == 'OK' }} if: ${{ env.CHANGED == 'OK' }}
uses: dmnemec/copy_file_to_another_repo_action@3fe42250d47e0764da9de9939b151b09a26e5857 uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
env: env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }} API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
with: with:
clear_folder: 'docs/dist'
source_file: 'packages/noco-book/dist/' source_file: 'packages/noco-book/dist/'
destination_repo: 'nocodb/noco-book' destination_repo: 'nocodb/noco-book'
destination_folder: 'docs' destination_folder: 'docs'

6
.github/workflows/publish-docs.yml

@ -19,11 +19,11 @@ jobs:
echo "CHANGED=$([[ $(lerna ls --since ${{github.event.before}} | grep noco-docs) = noco-docs ]] && echo 'OK')" >> $GITHUB_ENV echo "CHANGED=$([[ $(lerna ls --since ${{github.event.before}} | grep noco-docs) = noco-docs ]] && echo 'OK')" >> $GITHUB_ENV
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
# if: ${{ env.CHANGED == 'OK' || github.event_name == 'release' }} if: ${{ env.CHANGED == 'OK' || github.event_name == 'release' }}
with: with:
node-version: 14 node-version: 14
- name: Build docs - name: Build docs
# if: ${{ env.CHANGED == 'OK' || github.event_name == 'release' }} if: ${{ env.CHANGED == 'OK' || github.event_name == 'release' }}
run: | run: |
cd packages/noco-docs cd packages/noco-docs
npm install npm install
@ -31,7 +31,7 @@ jobs:
- name: Pushes generated output - name: Pushes generated output
# if: ${{ env.CHANGED == 'OK' || github.event_name == 'release' }} if: ${{ env.CHANGED == 'OK' || github.event_name == 'release' }}
uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658 uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
env: env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }} API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}

3
.github/workflows/publish-noco-i18n.yml

@ -33,10 +33,11 @@ jobs:
- name: Pushes generated output - name: Pushes generated output
if: ${{ env.CHANGED == 'OK' || github.event_name == 'release' }} if: ${{ env.CHANGED == 'OK' || github.event_name == 'release' }}
# uses: dmnemec/copy_file_to_another_repo_action@main # uses: dmnemec/copy_file_to_another_repo_action@main
uses: dmnemec/copy_file_to_another_repo_action@3fe42250d47e0764da9de9939b151b09a26e5857 uses: dmnemec/copy_file_to_another_repo_action@1b29cbd9a323185f20b175dc6d5f8f31be5c0658
env: env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }} API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
with: with:
clear_folder: 'docs/dist'
source_file: 'packages/noco-i18n/dist/' source_file: 'packages/noco-i18n/dist/'
destination_repo: 'nocodb/noco-i18n' destination_repo: 'nocodb/noco-i18n'
destination_folder: 'docs' destination_folder: 'docs'

Loading…
Cancel
Save