Skip to content

Commit

Permalink
.github/workflows/deploy.yaml: syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Dec 13, 2023
1 parent 61c9138 commit 5d5824d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: push to docker hub
run: docker push "acdhch/$RANCHER_NAMESPACE:latest"
- name: redeploy on rancher
run: |
run: |
BASE_URL=`curl -s -H "Authorization: Bearer ${{ secrets.RANCHERTOKEN }}" "$RANCHER_API_BASE/projects" | jq -r ".data[] | select(.name == \"$RANCHER_PROJECT\") | .links.workloads"`
curl -i -X POST -H "Authorization: Bearer ${{ secrets.RANCHERTOKEN }}" "$BASE_URL/deployment:$RANCHER_NAMESPACE:$RANCHER_NAMESPACE?action=redeploy"

0 comments on commit 5d5824d

Please sign in to comment.