Skip to content

Commit

Permalink
.github/workflows/build.yml: fix the rancher namespace name
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Feb 10, 2025
1 parent 8877ba3 commit efbf2cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
- name: redeploy
run: |
NMSP=oeaw-resources-dev
if [ "$TAG" == "vufind10" ] ; then NMSP=oeaw-resources-vf10 ; fi
# yes, fv10 is a typo but recreating a namespace in rancher is too much work to fix it
if [ "$TAG" == "vufind10" ] ; then NMSP=oeaw-resources-fv10 ; fi
if [ "$TAG" == "latest" ] ; then NMSP=oeaw-resources ; fi
echo "https://rancher.acdh-dev.oeaw.ac.at/v3/project/c-m-6hwgqq2g:p-nlsz2/workload/deployment:$NMSP:solr?action=redeploy"
curl -i -X POST -H "Authorization: Bearer ${{ secrets.RANCHER_TOKEN }}" "https://rancher.acdh-dev.oeaw.ac.at/v3/project/c-m-6hwgqq2g:p-nlsz2/workload/deployment:$NMSP:solr?action=redeploy"

0 comments on commit efbf2cd

Please sign in to comment.