how to set it up
Opened this issue · 18 comments
I don't understand how you can do the same but with your own repository
@dentlis see blog post here:
https://benkaiser.dev/writable-websites-using-github-pages-github-action/
"create a GitHub Action" this https://docs.github.com/en/actions/quickstart ?
I just need more precise instructions 😅
The action is simply a file in a specific location in the repo, you can see it in this repo here:
https://github.com/benkaiser/pages-pastebin/blob/master/.github/workflows/upload.yml
The action is simply a file in a specific location in the repo, you can see it in this repo here:
https://github.com/benkaiser/pages-pastebin/blob/master/.github/workflows/upload.yml
I did it and now I need to paste Your code?
Well, if you want it to be exactly the same, you can just fork this repo. What are you trying to achieve?
i forked Your repository when i go to https://dentlis.github.io/pages-pastebin/ and want to save paste it takes forever to load, how can i solve this problem? what did i do wrong? I don't understand...
@dentlis did you install the github app to your repo like I outlined in the blog post?
Install the GitHub app to your repo to allow repository_dispatch to be called unauthenticated.
I understand that I need to replace here with my repository and owner...? https://imgur.com/URkqm43.png
I understand that I need to replace here with my repository and owner...? https://imgur.com/URkqm43.png
i replaced it with fetch("https://publicactiontrigger.azurewebsites.net/api/dispatches/dentlis/pages-pastebin", it turns out before that it saved everything paste to your repo
logically, it should be stored in my repo, but the download is still endless, what else should I do to make everything work?
Your repository has user-user action authors, did you add it yourself? Or did it automatically add itself?
@dentlis the fetch request that is happening when creating a paste, is it failing? What is the error?
thanks bro, it worked for me, thanks for the time spent on me
I understand that I need to replace here with my repository and owner...? https://imgur.com/URkqm43.png
i replaced it with fetch("https://publicactiontrigger.azurewebsites.net/api/dispatches/dentlis/pages-pastebin", it turns out before that it saved everything paste to your repo
I waited a little more, and everything worked for me!
Fantastic, great to hear @dentlis !
hahaha, I m nub to this :D (git, github, etc.)