Skip to content

Commit

Permalink
install from bodo.run
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen1 committed Jan 18, 2025
1 parent 0018fc1 commit a1b4367
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,21 @@ jobs:
files: |
*.tar.gz
*.zip
- name: Copy installation script to bodo.run
run: |
# Copy scripts/install_stop_nagging.sh to bodo-run.github.io repo's public/stop-nagging.sh and commit
# Copy scripts/install_stop_nagging.ps1 to bodo-run.github.io repo's public/stop-nagging.ps1 and commit
git clone https://github.com/bodo-run/bodo-run.github.io.git
cp scripts/install_stop_nagging.sh bodo-run.github.io/public/stop-nagging.sh
cp scripts/install_stop_nagging.ps1 bodo-run.github.io/public/stop-nagging.ps1
COMMIT_SHA=$(git rev-parse HEAD)
BODO_COMMIT_MESSAGE=$(git log -1 --pretty=%B)
cd bodo-run.github.io
git add public/stop-nagging.sh public/stop-nagging.ps1
git commit -m "Update stop-nagging installation scripts" \
-m "" \
-m "$BODO_COMMIT_MESSAGE" \
-m "" \
-m "https://github.com/bodo-run/stop-nagging/commit/$COMMIT_SHA"
git push
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Head over to [`tools.yaml`](tools.yaml) to see the list of supported tools.
<!-- LINUX_INSTALLATION_BEGIN -->

```bash
curl -fsSL https://raw.githubusercontent.com/bodo-run/stop-nagging/main/scripts/install_stop_nagging.sh | bash
curl -fsSL https://bodo.run/stop-nagging.sh | bash
```

<!-- LINUX_INSTALLATION_END -->
Expand All @@ -32,7 +32,7 @@ curl -fsSL https://raw.githubusercontent.com/bodo-run/stop-nagging/main/scripts/
1. Download and run the PowerShell installer script:
<!-- WINDOWS_INSTALLATION_BEGIN -->
```powershell
iwr https://raw.githubusercontent.com/bodo-run/stop-nagging/main/scripts/install_stop_nagging.ps1 -UseBasicParsing | iex
iwr https://bodo.run/stop-nagging.ps1 -UseBasicParsing | iex
```
<!-- WINDOWS_INSTALLATION_END -->
2. If needed, add the installation directory (default: `$HOME\.local\bin`) to your PATH.
Expand Down

0 comments on commit a1b4367

Please sign in to comment.