Skip to content

Commit

Permalink
fix(chore): typos
Browse files Browse the repository at this point in the history
  • Loading branch information
KosrenDQ committed Mar 16, 2021
1 parent a655c83 commit 77d24d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: sekassel-research/[email protected].1
- uses: sekassel-research/[email protected].2
with:
rancher_url: https://rancher.test.de
rancher_token: ${{ secrets.RANCHER_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function main() {
const dockerImage = core.getInput('docker_image', {required: true});

await axios.patch(
`${rancherUrl}/k8s/clusters/${clusterId}/api/apps/v1/namespaces/${namespace}/deployments/${deployment}`,
`${rancherUrl}/k8s/clusters/${clusterId}/apis/apps/v1/namespaces/${namespace}/deployments/${deployment}`,
[
{
op: 'replace',
Expand All @@ -31,7 +31,7 @@ async function main() {
);

await axios.post(
`${rancherUrl}/v3/project/${clusterId}:${projectId}/workloads/deployment:${namespace}:${deployment}?action=redeploy`,
`${rancherUrl}/v3/projects/${clusterId}:${projectId}/workloads/deployment:${namespace}:${deployment}?action=redeploy`,
{},
{
headers: {
Expand Down

0 comments on commit 77d24d7

Please sign in to comment.