feat: Add git action
All checks were successful
Build and Push Docker Image / Build (push) Successful in 22s
All checks were successful
Build and Push Docker Image / Build (push) Successful in 22s
This commit is contained in:
parent
ea63a41e2a
commit
c45aa9e9ae
2 changed files with 11 additions and 16 deletions
|
@ -29,19 +29,3 @@ jobs:
|
|||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
- name: Make changes
|
||||
if: ${{ steps.semantic.outputs.new_release_published }}
|
||||
run: |
|
||||
git config --local user.email "forgejo@kjan.email"
|
||||
git config --local user.name "forgejo[bot]"
|
||||
git add docs/
|
||||
git commit -m "chore(release): [skip ci]"
|
||||
continue-on-error: true
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
continue-on-error: true
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: main
|
||||
|
|
|
@ -15,5 +15,16 @@ module.exports = {
|
|||
giteaUrl: "https://git.kjan.de",
|
||||
},
|
||||
],
|
||||
[
|
||||
"@semantic-release/git",
|
||||
{
|
||||
assets: ["docs"],
|
||||
message:
|
||||
"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
|
||||
branch: {
|
||||
name: "main",
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue