Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Simon Schrottner <[email protected]>
  • Loading branch information
aepfli and mowies authored Mar 23, 2023
1 parent 9ebb0bb commit bb729a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Checkout - page branch
- name: Checkout examples repo
uses: actions/checkout@v3
with:
repository: keptn-sandbox/lifecycle-toolkit-examples
path: ${{ inputs.page_dir }}
path: ${{ inputs.examples_dir }}
token: ${{ secrets.KEPTN_BOT_TOKEN }}

- name: Get Latest Release Information
uses: octokit/request-action@v2.x
uses: octokit/request-action@v2.1.7
id: latest_release
with:
route: GET /repos/:owner/:repository/releases/latest
Expand All @@ -42,12 +42,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Move old latest release documentation folder
- name: Move old latest release examples folder
if: ${{ fromJson(steps.latest_release.outputs.data).tag_name == inputs.tag_name }}
run: cp -R ./examples/* "${{ inputs.examples_dir }}"

- name: Push content
if: ${{ inputs.dry_run != true }}
if: inputs.dry_run != true
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
Expand Down

0 comments on commit bb729a6

Please sign in to comment.