why i deployed successfully, but the page is empty?
@Mia_giladi17 күн бұрын
thank you so much!
@aryansinha181823 күн бұрын
Kindly pin this comment For all those for whom this is not working, make sure to do this 1. Keep the repo name and vite project name same. 2. Make sure it is .github and the folder structure is accurate. **** Most important, Check for branch name, github branch name is master instead main so change it to master in two places, the top where it is given master and under deploy change the if statement to master, if: github.ref == 'refs/heads/master' Copy paste the below code if you don't want to change on your own, name: Deploy on: push: branches: - master jobs: build: name: Build runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v3 - name: Setup Node uses: actions/setup-node@v3 - name: Install dependencies uses: bahmutov/npm-install@v1 - name: Build project run: npm run build - name: Upload production-ready build files uses: actions/upload-artifact@v3 with: name: production-files path: ./dist deploy: name: Deploy needs: build runs-on: ubuntu-latest if: github.ref == 'refs/heads/master' steps: - name: Download artifact uses: actions/download-artifact@v3 with: name: production-files path: ./dist - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist
@lau_dicasАй бұрын
Very good, i am from brazil.
@matheusasilva1170Ай бұрын
I'll try, thanks, But my code is on netlify, do you know if it's the same procedure for netlify and firebase host?
@Minced.PhalangesАй бұрын
Don't forget to update the .yml actions to the latest version (currently v4)
@wonseobiiiАй бұрын
thank you so much! :D actualy helped me alot
@KiranNaragamАй бұрын
OMG Life Saviour Thank You So Much 😅😊
@mead.72 ай бұрын
It is a very nice but i tried to deploy accordingly, meanwhile it failed because github deprecate v2.
@harsharyan3404Ай бұрын
change "actions/upload-artifact@v2" to "actions/upload-artifact@v3" and "actions/download-artifact@v2" to "actions/download-artifact@v3" in the deploy.yml file
@mottobel85022 ай бұрын
wonderful!
@ayanTheDeveloper2 ай бұрын
it did not work. the action tab showing error. v2 is deprecated.
@Minced.PhalangesАй бұрын
Update all actions to v4
@JohnAaronEstonanto-nw6jb2 ай бұрын
How about with Laravel back-end?
@jagmetal2 ай бұрын
Great video!
@cj.shot86162 ай бұрын
I'm getting blank page😢
@Kaif_Ali_Khan2 ай бұрын
sameee
@rohitsk67933 ай бұрын
Helped a lot
@pohon5923 ай бұрын
thanks, this help me a lot
@sudipsarkar15123 ай бұрын
Bro, I'm facing, same kind of issue hosting the react app on Vercel , what to do ?
@ratocleber3 ай бұрын
amigo, como eu posso criar botões de tempo, por exemplo 5 minutos, 10 ou 25?
@ratocleber3 ай бұрын
Good vid but how can you create buttons to select what time do you need? Like 3 minutes, 5 minutes, 25 minutes?
@MAVI_EDITz_4U3 ай бұрын
This video is still very helpful in 2024..........Thanks for the video
@Mazin-Emad3 ай бұрын
thank you
@jazzi0chhabra3 ай бұрын
amazing and accurate <3
@AkshayKumar-mc1ws3 ай бұрын
Thanks it help a lot
@mukulmayur75074 ай бұрын
Thanks brother for this information.
@nagasai30294 ай бұрын
as after deployed my project, still i was getting a white page.. what to do now?
@unusual79852 ай бұрын
same
@samirdumre56124 ай бұрын
Thanks
@JBdunks5 ай бұрын
This video is great, thank you.
@rakeshkumarparida985 ай бұрын
After following all the steps its showing 'There are no workflow runs yet.'
@MohamedAdel.95 ай бұрын
are you find solution
@mrxmart32384 ай бұрын
I was having the issue when i created the project using bun pakage manager but was getting error during buid workflow so heres the deploy.yml config for bun name: Deploy on: push: branches: - main jobs: build: name: Build runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v3 - name: Setup Bun uses: oven-sh/setup-bun@v1 with: bun-version: latest - name: Install dependencies run: bun install - name: Build project run: bun run build - name: Upload production-ready build files uses: actions/upload-artifact@v3 with: name: production-files path: ./dist deploy: name: Deploy needs: build runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' steps: - name: Download artifact uses: actions/download-artifact@v3 with: name: production-files path: ./dist - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist
@sergioalonzo13035 ай бұрын
Perfect! My first webpage is live now thanks to you!
@abdrahmane-mt6xr5 ай бұрын
but whats the main probleme if someone can help please ?
@ShreyaSaha-r6z5 ай бұрын
Best video ever
@daniellelindblom77535 ай бұрын
you absolutely saved my bacon with this one! thank you SO MUCH for taking the time to put this together!
@Zratey5 ай бұрын
If if this tutorial has 1 year and some minor things had changed, tysm for your guide. Thanks to you I could properly persue my project, I'll add a link to your Github guide within my README God bless you mate🙏
@umangbansal39705 ай бұрын
Thanks man. Simple and Clean and Helpful and Informative video. Thanks man. Thanks a lot
@joshmejia55135 ай бұрын
What is the app you are using to save the code snippets?
@rishabhvishwakarma57455 ай бұрын
can i deploy my project on github if it is saved a private repo
@КонстантинЛарин-ч9ъ5 ай бұрын
Bro, you saved me❤
@Aman-po8tc5 ай бұрын
Seriously the best stuff on KZbin
@estefanosotoneyra13915 ай бұрын
god man i love you so much
@ban4nna5 ай бұрын
Hi Man - I still get a white screen even though when i run npm run dev it works
@tejasdeshpande89546 ай бұрын
thx for this help bro
@joaopedropinheiro39046 ай бұрын
Voltando a estudar webdev, ótimo projeto, me fez relembrar muita coisa
@Niraj_Kr296 ай бұрын
Thanks a lot dude, this worked on one go..!! 😭
@aiyn4706 ай бұрын
Are .yml file same for everyone I have super big galaxy dependency here
@MikiyasGirma-y9d6 ай бұрын
Man you are live saver huge thanks 🥰🥰🥰
@travisScottFan36 ай бұрын
Tysm! Other tutorials were making my page was blank
@everyellachannel6 ай бұрын
Many thanks from Russia! It worked!!!
@zainmashhood79436 ай бұрын
Error: The process '/opt/hostedtoolcache/node/16.20.2/x64/bin/npm' failed with exit code 1 please help me with error