Skip to content

Commit

Permalink
edited Download External Script
Browse files Browse the repository at this point in the history
  • Loading branch information
mrFavoslav committed Dec 31, 2024
1 parent 446bdb7 commit 474e830
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@ jobs:
app/Guidzgo/bin/Debug/**/*
- name: Download External Script
shell: pwsh
run: |
pwsh -Command "
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/mrFavoslav/KeyDrop-BOT/refs/heads/main/script/keydrop_giveaway_script.js' `
-Headers @{ Authorization = 'token ${{ secrets.GH_TOKEN }}' } `
-OutFile 'keydrop_giveaway_script.js'
"
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/mrFavoslav/KeyDrop-BOT/main/script/keydrop_giveaway_script.js' `
-Headers @{ Authorization = "token ${{ secrets.GH_TOKEN }}" } `
-OutFile 'keydrop_giveaway_script.js'
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
/app/Guidzgo/bin
/app/Guidzgo/obj
/app/packages
sc.sh
.gitignore
.git

0 comments on commit 474e830

Please sign in to comment.