From a60ea8e38f9ae224de0c6e2d85cb2cf9d53cb258 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Mon, 18 Dec 2023 19:18:30 +0000 Subject: [PATCH] :angel: sync LINAR Pushed from https://github.com/itpp-labs/LINAR/blob/master/.github/workflows/LINAR2repos.yml --- .../workflows/LINAR-generate-module-html.yml | 52 +++++++++++++++++++ .github/workflows/publish-apps.yml | 17 ++++++ 2 files changed, 69 insertions(+) create mode 100644 .github/workflows/LINAR-generate-module-html.yml create mode 100644 .github/workflows/publish-apps.yml diff --git a/.github/workflows/LINAR-generate-module-html.yml b/.github/workflows/LINAR-generate-module-html.yml new file mode 100644 index 00000000..6b84c093 --- /dev/null +++ b/.github/workflows/LINAR-generate-module-html.yml @@ -0,0 +1,52 @@ +name: "LINAR: update module html" +# forced rebuild date: Nov 22 + +on: + push: + paths: + - ".DINAR/build-date-private.txt" + - ".github/workflows/LINAR-generate-module-html.yml" + - "*/__manifest__.py" + - "*/doc/src/info.yaml" + - "*/doc/src/index.html" + +jobs: + module_html: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v2 + with: + path: REPO + # token is required to bypass pushing without checks/reviews + token: ${{ secrets.DINAR_TOKEN }} + - name: Checkout LINAR + uses: actions/checkout@v2 + with: + path: LINAR + repository: itpp-labs/LINAR + ref: master + token: ${{ secrets.DINAR_TOKEN }} + - uses: actions/setup-python@v1 + with: + python-version: "3.9.x" + - name: Install python tools + run: | + pip install plumbum pyyaml + - name: Generate html + run: | + cd REPO + for d in */ ; do + python ../LINAR/workflow-files/generate_module_html.py $d + done + + - name: Commit updates + uses: stefanzweifel/git-auto-commit-action@v4 + with: + repository: REPO + commit_user_name: Mitchell Admin + commit_user_email: itpp-bot@users.noreply.github.com + commit_message: | + :angel: Update module html + + Sent from Github Actions (see .github/workflows/LINAR-generate-module-html.yml ) diff --git a/.github/workflows/publish-apps.yml b/.github/workflows/publish-apps.yml new file mode 100644 index 00000000..ce7d9e64 --- /dev/null +++ b/.github/workflows/publish-apps.yml @@ -0,0 +1,17 @@ +name: "Publish Apps" + +on: + push: + paths: + - "some-unexisting-file-to-disable-it" + #paths-ignore: + # - ".github/**" + # - ".DINAR/**" + +jobs: + publish-apps: + runs-on: ubuntu-latest + steps: + - name: "[TODO] Publish" + run: | + echo "TODO"