Skip to content

Commit

Permalink
Merge branch 'ckan-2.10-upgrade' of github.com:TNRIS/twdh_ckan_docker…
Browse files Browse the repository at this point in the history
… into ckan-2.10-upgrade
  • Loading branch information
twdbben committed Jan 9, 2025
2 parents 6461cf5 + 2470496 commit f82e3dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wf1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion docker/ckan/plugins/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand All @@ -47,4 +49,4 @@ def install(self):
p["cmd"]
)

plugin.install()
plugin.install()

0 comments on commit f82e3dc

Please sign in to comment.