Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

I have a fork that's supposed to run automatically once per day #15

Open
AvverbioPronome opened this issue Nov 1, 2023 · 4 comments
Open

Comments

@AvverbioPronome
Copy link

AvverbioPronome commented Nov 1, 2023

Ma perché sto scrivendo in inglese.

Sta tutto in questo file, e in impostazioni di github pages. https://github.com/AvverbioPronome/raiplaysound/blob/master/.github/workflows/pages.yml

Mergia se vuoi, io l'ho fatto perché mi serviva.

@timendum
Copy link
Owner

Ciao, ho dato (in ritardissimo) un'occhiata al tuo fork, che funziona benissimo però si perde le pagine che scompaiono da sito ufficiale RaiPlaySound e di cui però gli mp3 rimangono fruibili.
Ad esempio Fontamara è nel mio branch ma non nel tuo.

La fix sarebbe semplice: bisogna fare checkout di github-pages in dist prima di far girare il programma, così da mantenere gli xml già fatti. Poi index.py non fa distinzioni tra xml nuovo o vecchio.

Riesci a modificare il workflow in tal senso?

@AvverbioPronome
Copy link
Author

Posso importare quelli dal tuo repo, ma non dal mio, perché non committo gli xml che creo.

Vedo che posso fare.

@timendum
Copy link
Owner

timendum commented Jan 16, 2024 via email

@AvverbioPronome
Copy link
Author

Ho inserito un

    git clone --depth=1 -b gh-pages https://github.com/timendum/raiplaysound.git dist

prima dei comandi che generano gli xml. Non conosco le pipeline di github così bene.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants