Closed shelomito12 closed 3 years ago
Hi, this repository is a Github Action so the only thing that you need to do is to use the last version. You don't need to install or clone the repo.
In your repo you need to setup the "repository secrets", here is a Github Tutorial.
From the readme you need to copy and paste the json for setting up your workflow, then create a file called episode.json
and write your youtube id video as follow:
{
"id": "nHCXZC2InAA"
}
That's it and you have done!
Hey @TheJoin95, thanks for getting back.
Sorry, it wasn't totally clear to me...
So far:
1) I forked your repo which "created" my first ever Github repo 2) Created encrypted secrets for my repo 3) Then, on my Linux VPS (headless), I cloned the forked repo from my own Github account (using SSH key) 4) #3 is only to automate and replace the VideoID with a new one using a bash script 5) Also updated the yml file under .github/workflows with the same code suggested from the README, then git-committed from my server 6) Since #3 is not yet implemented, I manually updated the VideoID on the episode.json file then waited like an hour and never saw my Anchor podcast updated
What am I doing wrong?
Did you setup your github secrets in your forked repository?
Did you setup your github secrets in your forked repository?
Yes
YML file: https://github.com/jzvi12/youtube-to-anchorfm/blob/master/.github/workflows/upload.yml
Try to trigger the action manually: https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
Hi @TheJoin95... no need to
Try to trigger the action manually: https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
Hi @TheJoin95, no need to trigger it manually... I had to click on the Actions tab from my repo and press a green button that said to confirm that a new Action was added (can't remember exactly and forgot to take a screenshot) but after pressing that green button, the Actions were automatically being triggered successfully (I saw new episodes uploaded to Anchor.fm).
Question: Do I need to keep the DEMO .yml file under workflows as well? it seems it's triggering 2 actions at the same time
You can remove the demo and leave the production workflow
Thanks a lot!
Hi there, this seems to be a very interesting tool to try.
Could you guys please provide a quick (straight to the point) tutorial for newbies?
1) Clone this repo? 2) Install via Dockerfile? If so, command sample? 3) Is there a script to automatically update the episode is file? 4) Are you using YouTube API v3 to pull newest videos? Maybe you guys can provide a sample script? 5) How to install Secrets or dotenv? Do we need to add extra code to your files in order to make it work properly?