Skip to content

Commit

Permalink
added upload feature
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonicrahul committed Feb 18, 2024
1 parent 566af6e commit d0c5ac3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,16 @@ jobs:
with:
name: windows-executable
path: dist/20-20-20-refresh Setup 1.0.0.exe

- name: Upload to DigitalOcean Spaces
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --delete
env:
AWS_S3_BUCKET: 20-20-20
AWS_ACCESS_KEY_ID: ${{ secrets.DO_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DO_SECRET_ACCESS_KEY }}
AWS_REGION: BLR1
SOURCE_DIR: dist/20-20-20-refresh\ Setup\ 1.0.0.exe


2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const displayNotificationAndBeep = (title, message) => {
});

notification.show();

const beepPath = path.join(__dirname, 'media', 'bubble.wav');
sound.play(beepPath, 1.0); // Adjust volume if necessary
}
Expand Down

0 comments on commit d0c5ac3

Please sign in to comment.