diff --git a/.github/.domain/domains.json b/.github/.domain/domains.json index 65ea82b..10ecaf8 100644 --- a/.github/.domain/domains.json +++ b/.github/.domain/domains.json @@ -6,10 +6,10 @@ "time_change": "2025-03-19 12:20:19" }, "cb01new": { - "domain": "digital", - "full_url": "https://cb01net.digital/", - "old_domain": "life", - "time_change": "2025-06-07 07:18:34" + "domain": "live", + "full_url": "https://cb01net.live/", + "old_domain": "digital", + "time_change": "2025-06-11 07:20:30" }, "animeunity": { "domain": "so", @@ -25,9 +25,9 @@ }, "guardaserie": { "domain": "meme", - "full_url": "http://guardaserie.meme/", + "full_url": "https://guardaserie.meme/", "old_domain": "meme", - "time_change": "2025-06-10 10:23:05" + "time_change": "2025-06-11 07:20:36" }, "ddlstreamitaly": { "domain": "co", @@ -48,15 +48,15 @@ "time_change": "2025-05-26 23:22:45" }, "streamingcommunity": { - "domain": "agency", - "full_url": "https://streamingunity.agency/", - "old_domain": "art", - "time_change": "2025-06-10 10:23:11" + "domain": "cam", + "full_url": "https://streamingunity.cam/", + "old_domain": "agency", + "time_change": "2025-06-14 09:20:54" }, "altadefinizionegratis": { - "domain": "cc", - "full_url": "https://altadefinizionegratis.cc/", - "old_domain": "icu", - "time_change": "2025-06-02 10:35:25" + "domain": "club", + "full_url": "https://altadefinizionegratis.club/", + "old_domain": "cc", + "time_change": "2025-06-11 07:20:42" } } \ No newline at end of file diff --git a/.github/workflows/update_domain.yml b/.github/workflows/update_domain.yml index 534956b..70d1196 100644 --- a/.github/workflows/update_domain.yml +++ b/.github/workflows/update_domain.yml @@ -1,5 +1,4 @@ -name: Update domains - +name: Update domains (Amend Strategy) on: schedule: - cron: "0 7-21 * * *" @@ -8,22 +7,25 @@ on: jobs: update-domains: runs-on: ubuntu-latest + permissions: contents: write steps: - name: Checkout code uses: actions/checkout@v4 - + with: + fetch-depth: 0 # Serve per l'amend + token: ${{ secrets.GITHUB_TOKEN }} + - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.12' - + python-version: '3.12' + - name: Install dependencies run: | pip install httpx tldextract ua-generator dnspython - pip install --upgrade pip setuptools wheel - name: Configure DNS @@ -33,18 +35,24 @@ jobs: - name: Execute domain update script run: python .github/.domain/domain_update.py - - - name: Commit and push changes (if any) + + - name: Always amend last commit run: | git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' - # Check if domains.json was modified if ! git diff --quiet .github/.domain/domains.json; then + echo "📝 Changes detected - amending last commit" git add .github/.domain/domains.json - git commit -m "Automatic domain update [skip ci]" - echo "Changes committed. Attempting to push..." - git push + git commit --amend --no-edit + git push --force-with-lease origin main else - echo "No changes to .github/.domain/domains.json to commit." + echo "✅ No changes to domains.json" fi + + - name: Verify repository state + if: failure() + run: | + echo "❌ Something went wrong. Repository state:" + git log --oneline -5 + git status \ No newline at end of file diff --git a/README.md b/README.md index 1a712a4..78a0022 100644 --- a/README.md +++ b/README.md @@ -814,9 +814,6 @@ Addon per Stremio che consente lo streaming HTTPS di film, serie, anime e TV in ### 🧩 [streamingcommunity-unofficialapi](https://github.com/Blu-Tiger/streamingcommunity-unofficialapi) API non ufficiale per accedere ai contenuti del sito italiano StreamingCommunity. -### 🎥 [stream-buddy](https://github.com/Bbalduzz/stream-buddy) -Tool per guardare o scaricare film dalla piattaforma StreamingCommunity. - # Disclaimer This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.