Skip to content

Commit

Permalink
Update buildRelease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cattn authored Aug 15, 2024
1 parent 5afa747 commit c51dc28
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/buildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,25 @@ jobs:
- name: Build Repo
run: |
npm i && npm run build
- uses: actions/upload-artifact@v4
with:
name: kolf-build-latest-appImage
path: dist/index.html

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/index.html
- name: Create update branch
- name: Create or update the updates branch
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout -b updates
- name: Replace index.html
run: |
git checkout -B updates
git pull origin updates --rebase
cp dist/index.html .
git add index.html
git commit -m "Updated bunker"
Expand Down

0 comments on commit c51dc28

Please sign in to comment.