Skip to content

Commit

Permalink
Merge pull request #1126 from aiyengar2/add_stage_release_workflow
Browse files Browse the repository at this point in the history
Add stage-release workflow
  • Loading branch information
aiyengar2 authored Apr 21, 2021
2 parents 257d00c + e60ab10 commit 2ec3b6e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ jobs:

- name: Push assets
run: git push origin dev-v2.5

- name: Stage released/ directory
run: FROM_WORKFLOW=1 RELEASE_REPO_URL=https://github.com/rancher/charts.git RELEASE_BRANCH=release-v2.5 make stage-release

- name: Add released/ to branch
run: git add . && git -c user.name="actions" -c user.email="[email protected]" commit -m "Regenerate released directory" -m "$(git log -b dev-v2.5-source --oneline -n1 --pretty=format:'%B')" || true

- name: Push assets
run: git push origin dev-v2.5

0 comments on commit 2ec3b6e

Please sign in to comment.