Skip to content

Commit

Permalink
docs(ci_cd): fix indent error for perform release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyinzuo authored and oknozor committed Oct 25, 2023
1 parent 3e85891 commit 6074a55
Showing 1 changed file with 26 additions and 21 deletions.
47 changes: 26 additions & 21 deletions src/ci_cd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,30 +88,35 @@ you can directly use `cog`.
on:
workflow_dispatch:
branches: main
jobs:
release:
name: Perform release
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cocogitto release
id: release
uses: oknozor/cocogitto-action@v3
with:
release: true
git-user: 'Cog Bot'
git-user-email: '[email protected]'
- name: Generate Changelog
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md
- name: Upload github release
uses: softprops/action-gh-release@v1
with:
body_path: GITHUB_CHANGELOG.md
tag_name: ${{ steps.release.outputs.version }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cocogitto release
id: release
uses: oknozor/cocogitto-action@v3
with:
release: true
git-user: 'Cog Bot'
git-user-email: '[email protected]'
- name: Generate Changelog
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md
- name: Upload github release
uses: softprops/action-gh-release@v1
with:
body_path: GITHUB_CHANGELOG.md
tag_name: ${{ steps.release.outputs.version }}
token: ${{ secrets.GITHUB_TOKEN }}
```

Also see:
Expand Down

0 comments on commit 6074a55

Please sign in to comment.