Skip to content

Update README.md

Update README.md #65

name: "trigger-release"
on:
push:
branches:
- release
jobs:
trigger-release:
runs-on: ubuntu-latest
outputs:
RELEASE_UPLOAD_ID: ${{ steps.create_release.outputs.id }}
steps:
- name: switch to main branch
uses: actions/checkout@v3
with:
ref: main
- name: get the lastest commit
id: get-last-commit
run: echo -e "commit= build -> $(git log --oneline -1 --no-decorate)" >> "$GITHUB_OUTPUT"
- name: checkout public release repo
uses: actions/checkout@v3
with:
repository: hudy9x/kompad-homepage
token: ${{ secrets.KOMPAD_RELEASE_REPO_TOKEN }}
ref: packaging
- name: generate new release text
run: date > generated.txt &&
git config user.name github-actions &&
git config user.email [email protected] &&
git add . &&
git commit -m "${{steps.get-last-commit.outputs.commit}}" &&
git push