You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2023/09/10 15:17:52 UTC
[streampipes-website] branch add-extensions-docs-action created (now 98a2bb1b)
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a change to branch add-extensions-docs-action
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git
at 98a2bb1b Add Github actions to open pr for updated extensions docs
This branch includes the following new commits:
new 98a2bb1b Add Github actions to open pr for updated extensions docs
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[streampipes-website] 01/01: Add Github actions to open pr for updated extensions docs
Posted by ri...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch add-extensions-docs-action
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git
commit 98a2bb1bbb3365acc4b029766e3f65c23c50e491
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Sun Sep 10 17:17:42 2023 +0200
Add Github actions to open pr for updated extensions docs
---
.github/workflows/update-extensions-docs.yml | 102 +++++++++++++++++++++++++++
1 file changed, 102 insertions(+)
diff --git a/.github/workflows/update-extensions-docs.yml b/.github/workflows/update-extensions-docs.yml
new file mode 100644
index 00000000..609dc62a
--- /dev/null
+++ b/.github/workflows/update-extensions-docs.yml
@@ -0,0 +1,102 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+name: update-extensions-docs
+
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: "0 4 * * 6" # runs every saturday at 04:00:00
+
+jobs:
+ fetch-python-docs-from-core-repo:
+ runs-on: ubuntu-latest
+ steps:
+ - name: clone
+ uses: actions/checkout@v3
+
+ - name: Publish Extensions imge assets as artifact
+ uses: actions/upload-artifact@v3
+ with:
+ name: streampipes-extensions-docs-image-assets
+ path: |
+ streampipes-extensions/streampipes-extensions-all-jvm/target/docs/img/
+ retention-days: 5
+
+ - name: Delete pipeline element and image directory
+ run: |
+ rm -r ./docs/pe
+
+ - name: fetch extensions docs from artifact
+ uses: dawidd6/action-download-artifact@v2
+ with:
+ github_token: ${{secrets.GITHUB_TOKEN}}
+ workflow_conclusion: success
+ name: streampipes-extensions-docs
+ repo: apache/streampipes
+ check_artifacts: true
+ search_artifacts: true
+ skip_unpack: false
+ if_no_artifact_found: fail
+ branch: dev
+ workflow: extensions-docs.yml
+ path: ./docs/pe
+
+ - name: fetch extensions image assets from artifact
+ uses: dawidd6/action-download-artifact@v2
+ with:
+ github_token: ${{secrets.GITHUB_TOKEN}}
+ workflow_conclusion: success
+ name: streampipes-extensions-docs-image-assets
+ repo: apache/streampipes
+ check_artifacts: true
+ search_artifacts: true
+ skip_unpack: false
+ if_no_artifact_found: fail
+ branch: dev
+ workflow: extensions-docs.yml
+ path: ./website-v2/static/img/pipeline-elements
+
+ - name: fetch extensions sidebar.xml from artifact
+ uses: dawidd6/action-download-artifact@v2
+ with:
+ github_token: ${{secrets.GITHUB_TOKEN}}
+ workflow_conclusion: success
+ name: streampipes-extensions-docs-sidebar
+ repo: apache/streampipes
+ check_artifacts: true
+ search_artifacts: true
+ skip_unpack: false
+ if_no_artifact_found: fail
+ branch: dev
+ workflow: extensions-docs.yml
+ path: ./website-v2
+
+ - name: create PR to update extensions docs
+ uses: peter-evans/create-pull-request@v4
+ with:
+ commit-message: "chore(extensions-docs): update extensions doc assets to recent development state"
+ committer: GitHub <no...@github.com>
+ author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
+ signoff: false
+ branch: "chore/update-extensions-docs"
+ delete-branch: true
+ title: 'chore(extensions-docs): update extensions doc assets'
+ body: |
+ Update extensions doc assets.
+ Automatically created.
+ draft: false
+ base: dev