Diferencia entre revisiones de «Usuario:ManuelRomero/Usuario:ManuelRomero/git»
De WikiEducator
Línea 8: | Línea 8: | ||
</source> | </source> | ||
===Action en git=== | ===Action en git=== | ||
− | {{MRM_Web|Referencias| | + | <br /> |
+ | {{MRM_Web|Title= Referencias| | ||
https://docs.github.com/es/actions/deployment/about-deployments/deploying-with-github-actions | https://docs.github.com/es/actions/deployment/about-deployments/deploying-with-github-actions | ||
https://keepler.io/es/2020/09/crear-workflows-en-base-a-eventos-con-github-actions | https://keepler.io/es/2020/09/crear-workflows-en-base-a-eventos-con-github-actions | ||
+ | https://manolog.es/blog/2022/04/20/hugo-deploy-git-hub-actions/ | ||
}} | }} | ||
*Vamos a crear un actio en git para conseguir un despliegue continuo de un proyecto | *Vamos a crear un actio en git para conseguir un despliegue continuo de un proyecto |
Revisión de 06:14 21 abr 2023
https://www.linuxito.com/programacion/750-como-montar-un-servidor-git
- Establecer token en local con credential.helper
https://desarrolloweb.com/articulos/autenticar-github-personal-access-token
git config --global credential.helper cache
Action en git
- Vamos a crear un actio en git para conseguir un despliegue continuo de un proyecto
- La idea es que cada vez que hagamos un push de un repositorio concreto, nos despliegue el proyecto en el hosting infenlaces.com
https://docs.github.com/es/actions/deployment/about-deployments/deploying-with-github-actions {{MRM_Actividad|Title=Pasos a realizar|
- 1.- Crear una acción en la carpeta .github/workflows/ dentro del repositorio (repositorio del sitio hugo) y asígnele el nombre main.yml.