diff --git a/.github/workflows/wf1.yaml b/.github/workflows/wf1.yaml index 0e16d97..9a030ce 100644 --- a/.github/workflows/wf1.yaml +++ b/.github/workflows/wf1.yaml @@ -3,7 +3,7 @@ run-name: ${{ github.actor }} created a new release on: push: tags: - - v*.*.*-* + - twdh-*.*.* jobs: test-image: runs-on: ubuntu-22.04 diff --git a/docker/ckan/plugins/plugins.py b/docker/ckan/plugins/plugins.py index b0697c5..0437ada 100644 --- a/docker/ckan/plugins/plugins.py +++ b/docker/ckan/plugins/plugins.py @@ -22,8 +22,10 @@ def install(self): git = f"git clone" if(self.branch != ""): git = f"git clone -b {self.branch}" + print(git) if(self.tag != ""): git = f"git clone -b {self.tag}" + print(git) git = git + f" --depth 1 https://{GH_TOKEN}@github.com/{self.owner}/{self.repo} ./{self.repo}" @@ -47,4 +49,4 @@ def install(self): p["cmd"] ) - plugin.install() \ No newline at end of file + plugin.install()