mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-27 21:44:42 -05:00
ci: unified order and style of workflows/actions
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
41690288a1
commit
411dfed18f
31 changed files with 235 additions and 183 deletions
10
.github/workflows/update-cli-reference.yml
vendored
10
.github/workflows/update-cli-reference.yml
vendored
|
|
@ -26,8 +26,8 @@ jobs:
|
|||
cache: true
|
||||
|
||||
- name: Generate reference docs
|
||||
run: go run . | cat header.md - > ../../cli.md
|
||||
working-directory: hack/clidocgen
|
||||
run: go run . | cat header.md - > ../../cli.md
|
||||
|
||||
- name: Get commit sha
|
||||
run: |
|
||||
|
|
@ -41,8 +41,6 @@ jobs:
|
|||
- name: Publish new reference (create new branch)
|
||||
if: env.EXISTS == 0
|
||||
uses: dmnemec/copy_file_to_another_repo_action@c93037aa10fa8893de271f19978c980d0c1a9b37 # tag=v1.1.1
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.CI_GITHUB_REPOSITORY }}
|
||||
with:
|
||||
source_file: "cli.md"
|
||||
destination_repo: "edgelesssys/constellation"
|
||||
|
|
@ -51,12 +49,12 @@ jobs:
|
|||
user_name: "${{ github.actor }}"
|
||||
user_email: "${{ github.actor }}@users.noreply.github.com"
|
||||
commit_message: "CLI reference was updated by edgelesssys/constellation@${{ env.COMMIT_END}}"
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.CI_GITHUB_REPOSITORY }}
|
||||
|
||||
- name: Publish new reference (update branch)
|
||||
if: env.EXISTS == 1
|
||||
uses: dmnemec/copy_file_to_another_repo_action@c93037aa10fa8893de271f19978c980d0c1a9b37 # tag=v1.1.1
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.CI_GITHUB_REPOSITORY }}
|
||||
with:
|
||||
source_file: "cli.md"
|
||||
destination_repo: "edgelesssys/constellation"
|
||||
|
|
@ -65,3 +63,5 @@ jobs:
|
|||
user_name: "${{ github.actor }}"
|
||||
user_email: "${{ github.actor }}@users.noreply.github.com"
|
||||
commit_message: "CLI reference was updated by edgelesssys/constellation@${{ env.COMMIT_END}}"
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.CI_GITHUB_REPOSITORY }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue