Пікірлер
@mig7403
@mig7403 3 күн бұрын
Thank you soo much man, it fixed my problem!
@yogeshgupta9205
@yogeshgupta9205 3 күн бұрын
Thanks a Lot! But Still facing same Black page on deployed Page!
@nischalmaharjan169
@nischalmaharjan169 5 күн бұрын
This actually works. Thanks man
@aryansinha1818
@aryansinha1818 11 күн бұрын
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
@eniolaaderounmu
@eniolaaderounmu 14 күн бұрын
Bro, this is the best - the best - the best- the best - the best - the best (and I typed it all) TUTORIAL ON DEPLOYING REACT APPS TO GITHUB PAGES.
@bloobiesuwu
@bloobiesuwu 16 күн бұрын
Ahhhh, this was so easy and worked fine!! thx :3
@pranadityasudana7514
@pranadityasudana7514 18 күн бұрын
i got an error Action failed with "The process '/usr/bin/git' failed with exit code 128" when i follow the tutorial minute 2:15 please help
@pranadityasudana7514
@pranadityasudana7514 18 күн бұрын
nvm i'm dumb
@nikolaykozenko7161
@nikolaykozenko7161 19 күн бұрын
Thank you brother! I am from Ukraine now live in Russia, couldn't do it, but you video is the best and your brief explanation is excelent! Keep on make such excellent videos!
@VladyslavDihtiarenko
@VladyslavDihtiarenko 19 күн бұрын
Приветствую! Я тоже из Украины, сейчас в Киеве. Спасибо за просмотр и комментарий. Приятно, что видео было полезным!
@nikolaykozenko7161
@nikolaykozenko7161 18 күн бұрын
@@VladyslavDihtiarenko Ого! Круто!! Неожиданно!! Я почему-то думал что Ирландия или даже Мексика😁. Буду ждать новых видео! А то на канале уже давно не было новенького, особенно интересно было посмотреть про Реакт 19 и Next.js 15, а то изменения, а инфы мало... Файно! Доброго дня, бажаю успіхів🥰🥰🥰
@lutpulla7183
@lutpulla7183 21 күн бұрын
Thank you so much, your video was of great help!
@VladyslavDihtiarenko
@VladyslavDihtiarenko 19 күн бұрын
Thanks, appreciate it
@chillside
@chillside Ай бұрын
thanks!
@phenix4668
@phenix4668 Ай бұрын
I build a reat vite project but when i deployed it i am getting resoures not found i tried your methods but still showing same error and not a single image is rendering
@Iamhere-em2us
@Iamhere-em2us Ай бұрын
Good man, thankss
@VoloInTech
@VoloInTech Ай бұрын
Great video!
@franki8469
@franki8469 Ай бұрын
What about custom loader? How to write it? Am i missing something?
@Gruby7C1h
@Gruby7C1h Ай бұрын
If you try this on your own project and it doesn't work (nothing is visible in Actions): check if your branch is named master instead of main. The workflow checks for refs/heads/main
@AbdalrhmnAbdelmaain
@AbdalrhmnAbdelmaain Ай бұрын
Really thank you very much the first one to be honest in your explanation thank you🥰
@dreamer4515
@dreamer4515 Ай бұрын
Finally 😭😭, took me 5 hours until I found your video. Earned a sub man!
@JohnBrianPrado-v6t
@JohnBrianPrado-v6t Ай бұрын
what if my assets are in the public/assets/folder/folder/etc..? and I have folders inside my assets with images inside
@VladyslavDihtiarenko
@VladyslavDihtiarenko Ай бұрын
You can set path for your images: www.npmjs.com/package/next-image-export-optimizer#configuration
@marcschiavone9549
@marcschiavone9549 Ай бұрын
The only useOnClickOutside with typescript working out there. Thx mate and well done! I needed this!
@masaorel6530
@masaorel6530 Ай бұрын
Thank you very much, setting the base solved the issue! :)
@AdamZlatohlavek
@AdamZlatohlavek 2 ай бұрын
Is there any way to show label Read more only, if there is content with 3+ lines? If I have content with just 2 lines, I want to hide expanding behaviour.
@paulocavalcanti3808
@paulocavalcanti3808 2 ай бұрын
If I choose gh-pages as the Branch, I can execute the app, but cannot access the doc. On the other hand, if I choose main as the Branch, I can see the doc, but cannot execute the app.
@mohamedaminedammak2319
@mohamedaminedammak2319 2 ай бұрын
thank you that was very helpful
@YowLongLee
@YowLongLee 2 ай бұрын
Thank you very much, your video is very clear. I especially like you've explained their config options. I think this is probably the best workaround to apply image optimization on Next.js static sites.
@hikaru_e
@hikaru_e 2 ай бұрын
This is one of the most concise tutorials I’ve ever seen. Thank you for valuing our time!
@lucaseverest5369
@lucaseverest5369 2 ай бұрын
You saved my life! I'v been working on this problem for hours! You won a subscriber forever!
@Halid-pl1to
@Halid-pl1to 2 ай бұрын
you amazing bro
@VladyslavDihtiarenko
@VladyslavDihtiarenko 2 ай бұрын
Thanks 😎
@broook-san
@broook-san 2 ай бұрын
Hey I followed your tutorial and deployed the app successfully. But I got an error. So I made some changes to my code and when I am trying to push the code to github with the general “git push -u origin main” command, it shows a message “everything is up-to-date” but the repository isn’t really updated on github. Can you help me about it?
@cz6609
@cz6609 2 ай бұрын
Absolute lifesaver. Thank you!
@VladyslavDihtiarenko
@VladyslavDihtiarenko 2 ай бұрын
you're welcome!
@Plantarc
@Plantarc 2 ай бұрын
Very helpful tutorial, thank you so much
@VladyslavDihtiarenko
@VladyslavDihtiarenko 2 ай бұрын
I'm glad you found the tutorial helpful! Let me know if you have any questions or need further assistance.
@App_Alchemy318
@App_Alchemy318 2 ай бұрын
Hello! I love your VsCode Color theme. Can you share it please!
@VladyslavDihtiarenko
@VladyslavDihtiarenko 2 ай бұрын
Community Material Theme High Contrast: marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-community-material-theme
@BLINKBOXHD
@BLINKBOXHD 2 ай бұрын
I don't see gh-pages as an option under branch
@abdullahawan6235
@abdullahawan6235 2 ай бұрын
sir please provide the source code of it. I will be very thankful to you.
@VladyslavDihtiarenko
@VladyslavDihtiarenko 2 ай бұрын
Source code: github.com/VladislavDegtyarenko/tutorial-slide-up-text-on-hover Preview: vladislavdegtyarenko.github.io/tutorial-slide-up-text-on-hover/
@DeepakSharma-cf5cz
@DeepakSharma-cf5cz 2 ай бұрын
thank alot bro ❤‍🔥❤‍🔥 you gained 1 more subscriber
@VladyslavDihtiarenko
@VladyslavDihtiarenko 2 ай бұрын
I really appreciate your support! Thank you for joining the community!
@ChideraAbaraonye
@ChideraAbaraonye 2 ай бұрын
Thanks a lot. I deployed my first React app, thanks to this video.
@sarveshkulkarni6287
@sarveshkulkarni6287 2 ай бұрын
faltu bakwas video hai ,time waste ,sala actions me kuch nai ata
@yannanicolas3700
@yannanicolas3700 2 ай бұрын
I did all the steps but then when i go to Actions, there is no failed deployment that i can re-run, please help me. Ty!
@David_Tsimbal_ru
@David_Tsimbal_ru 2 ай бұрын
Same problem
@IKILLVEGETABLES
@IKILLVEGETABLES 2 ай бұрын
I had the same issue, found that my folder was not in root
@VladyslavDihtiarenko
@VladyslavDihtiarenko 2 ай бұрын
Try to switch to GitHub Actions, save and switch back to Deploy from a branch
@aljopaulk1112
@aljopaulk1112 2 ай бұрын
@@VladyslavDihtiarenko same for me as well. still cant see failed one. showing various options under Get started with GitHub Actions Build, test, and deploy your code. Make code reviews, branch management, and issue triaging work the way you want. Select a workflow to get started. Skip this and set up a workflow yourself
@muhammedyaseen1404
@muhammedyaseen1404 3 ай бұрын
Thanks man, i spent a so much time figuring it out
@VladyslavDihtiarenko
@VladyslavDihtiarenko 2 ай бұрын
Appreciate it a lot!
@am_horrorfinder
@am_horrorfinder 3 ай бұрын
guys, this guy is absolute straight to point guy. I wondered this is new channel owner. thanks man. love from INDIA.
@VladyslavDihtiarenko
@VladyslavDihtiarenko 2 ай бұрын
I'm so grateful for your encouragement! It means a lot to me as a new channel owner. Love back to India!
@rohankoli3695
@rohankoli3695 3 ай бұрын
very helpful
@b__yag
@b__yag 3 ай бұрын
mine is error : Build ENOENT: no such file or directory, open '/home/runner/work/tictactoe-game/tictactoe-game/package-lock.json' im already re run but display error message like above text
@scorpion11133
@scorpion11133 3 ай бұрын
Cool tip👍
@VladyslavDihtiarenko
@VladyslavDihtiarenko 3 ай бұрын
@@scorpion11133 🔥
@scorpion11133
@scorpion11133 3 ай бұрын
🔥🔥🔥
@scorpion11133
@scorpion11133 3 ай бұрын
Great tip. Thank you. Also use this approach 👍
@VladyslavDihtiarenko
@VladyslavDihtiarenko 3 ай бұрын
@@scorpion11133 👍
@dmitry9463
@dmitry9463 3 ай бұрын
How to make it automatically redeploy after pushing new changes to the repo? Because I've added some changes, pushed them to the repo, but nothing has changed on the page by public link.
@VladyslavDihtiarenko
@VladyslavDihtiarenko 3 ай бұрын
Did you push to the main branch?
@dmitry9463
@dmitry9463 3 ай бұрын
@@VladyslavDihtiarenko Yes, I pushed to the main branch
@amansemwal9514
@amansemwal9514 3 ай бұрын
hey im not getting the gh-pages option, ive tried multiple times. its showing deployed, but only a blank screen shows up
@haitamjebari9226
@haitamjebari9226 Ай бұрын
mee too
@BadGirl-pn3qu
@BadGirl-pn3qu 3 ай бұрын
Is it possible to do the same but without JS?
@VladyslavDihtiarenko
@VladyslavDihtiarenko 3 ай бұрын
@@BadGirl-pn3qu I got you covered, check it out: kzbin.info/www/bejne/g6upk4Nve8d5ocksi=v4zHc6yktmkY9tYe
@BadGirl-pn3qu
@BadGirl-pn3qu 3 ай бұрын
@@VladyslavDihtiarenko Thank you! ❤
@isuskrist7416
@isuskrist7416 3 ай бұрын
Nice video. What VSCode theme are you using?
@Victusu
@Victusu 3 ай бұрын
I'm interested in that too
@VladyslavDihtiarenko
@VladyslavDihtiarenko 3 ай бұрын
@@isuskrist7416 Community Material Theme High Contrast: marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-community-material-theme
@Rao_vishal321
@Rao_vishal321 3 ай бұрын
It helps me a lot thanks ❤
@VladyslavDihtiarenko
@VladyslavDihtiarenko 3 ай бұрын
I'm so glad!