Skip to content

Commit 9b99eb1

Browse files
committed
rather use a template ci for all galaxy deploy
1 parent e0fa885 commit 9b99eb1

File tree

1 file changed

+3
-35
lines changed

1 file changed

+3
-35
lines changed

.github/workflows/galaxy-tool-ci.yaml

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,45 +4,13 @@ on:
44
push:
55
branches: [ main, master ]
66
tags:
7-
- 'v*' # Push events to tags matching v*, i.e. v1.0, v20.15.10
7+
- 'v*'
88
pull_request:
99
branches: [ main, master ]
1010
release:
1111
types: [ published ]
1212

1313
jobs:
14-
1514
deploy:
16-
# needs: test
17-
if: startsWith(github.ref, 'refs/tags/v')
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: actions/checkout@v3
21-
22-
- name: Set up Python
23-
uses: actions/setup-python@v4
24-
with:
25-
python-version: '3.9'
26-
27-
- name: Create Planemo config
28-
env:
29-
USER: ${{ secrets.USER }}
30-
KEY: ${{ secrets.KEY }}
31-
EMAIL: ${{ secrets.EMAIL }}
32-
PASS: ${{ secrets.PASS }}
33-
run: |
34-
mkdir -p $HOME/.planemo
35-
cat > $HOME/.planemo.yml << EOF
36-
shed_username: $USER # your ToolShed username
37-
sheds:
38-
toolshed:
39-
key: $KEY # your ToolShed API key, under 'User > API Keys'
40-
email: $EMAIL # your ToolShed email
41-
password: $PASS # your ToolShed password
42-
EOF
43-
44-
- name: Install Planemo
45-
run: pip install planemo
46-
47-
- name: Update Tool Shed
48-
run: planemo shed_update --shed_target toolshed
15+
uses: naturalis/galaxy-ci-template/.github/workflows/galaxy-tool-ci-template.yaml@main
16+
secrets: inherit

0 commit comments

Comments
 (0)