Сообщения

Избранное сообщение

Создать сайт на Github Pages

 1. Создать новый репо https://github.com/new  2. Создать внутри index.html в репо  3. Создать deploy на github pages -  https://github.com/des1roer/test.my/deployments  4. Добавить ключ curl -L \ -X POST \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https : //api.github.com/repos/OWNER/REPO/pages \ -d '{"source":{"branch":"main","path":"/docs"}}' токен отсюда  https://github.com/settings/tokens

golang обновить версию

 win ``` winget install GoLang.Go ``` ubuntu ``` sudo snap install go --classic --channel stable sudo apt install snapd && sudo reboot ```