diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a20610b..2366bec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,19 @@ jobs: fetch-depth: 0 fetch-tags: true + - name: udpate dependency + run: | + curl -Ls https://cdn.jsdelivr.net/npm/marked/marked.min.js > module/webui/scripts/marked.min.js + + # Commit if found changes + if ! git diff --exit-code module/webui/scripts/marked.min.js; then + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + git add module/webui/scripts/marked.min.js + git commit -m "deps: update marked.min.js" + git push + fi + - name: Extract Module Info id: extract_info run: |