Skip to content

Update Installomator #34

Update Installomator

Update Installomator #34

name: Update Installomator
on:
schedule:
- cron: '0 3 * * *' # Runs daily at 3 AM
workflow_dispatch: # Manual trigger
jobs:
update-script:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Download Installomator.sh
run: |
curl -o Installomator.sh https://raw.githubusercontent.com/Installomator/Installomator/refs/heads/main/Installomator.sh
- name: Modify DEBUG=1 to DEBUG=0
run: |
sed -i.bak 's/^DEBUG=1/DEBUG=0/' Installomator.sh
- name: Pull Latest Changes
run: git pull origin main
- name: Commit Changes
run: |
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
git add Installomator.sh
git commit -m "Updated DEBUG to 0 in Installomator.sh"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}