etc
/
lpe
1
0
Fork 0

Donations

master
dump_stack() 2020-01-17 00:01:49 +00:00
parent 6e77f09121
commit 182de16e00
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 20 additions and 0 deletions

20
.github/workflows/donate.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: donate
on:
issues:
types: [opened, closed]
schedule:
- cron: '55 * * * *' # for updating balance
jobs:
comment:
runs-on: ubuntu-latest
steps:
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # the scope is current repository only
TOOL: "https://github.com/jollheef/donate/archive/master.tar.gz"
run: |
curl https://nixos.org/nix/install | sh
. ~/.nix-profile/etc/profile.d/nix.sh
nix-channel --update
nix run -f $TOOL -c donate-ci