Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mmozeiko/TwitchNotify
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Hoppe committed Apr 19, 2023
2 parents c3524e8 + 2870405 commit e33ff5d
Show file tree
Hide file tree
Showing 4 changed files with 236 additions and 36 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/TwitchNotify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: TwitchNotify

on:
push:
branches: master

jobs:
build:
runs-on: windows-2022

steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: repo

- name: Build
shell: cmd
run: cd repo && build.cmd

- name: Checkout wiki
uses: actions/checkout@v3
with:
repository: ${{github.repository}}.wiki
path: wiki

- name: Upload binary
shell: cmd
run: |
cd repo
"C:\Program Files\7-Zip\7z.exe" a -tzip -mx=9 TwitchNotify.zip TwitchNotify.exe TwitchNotify.ini
cd ..
copy repo\TwitchNotify.zip wiki
cd wiki
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit --all --amend --no-edit
git push --force-with-lease
Loading

0 comments on commit e33ff5d

Please sign in to comment.