Skip to content

Commit

Permalink
👼 sync LINAR
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 18, 2023
1 parent 16a3a02 commit a60ea8e
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/LINAR-generate-module-html.yml
Original file line number Diff line number Diff line change
@@ -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: [email protected]
commit_message: |
:angel: Update module html
Sent from Github Actions (see .github/workflows/LINAR-generate-module-html.yml )
17 changes: 17 additions & 0 deletions .github/workflows/publish-apps.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit a60ea8e

Please sign in to comment.