Skip to content

Instantly share code, notes, and snippets.

View carlosfgti's full-sized avatar
🏆
Focusing

Carlos Ferreira carlosfgti

🏆
Focusing
View GitHub Profile
@carlosfgti
carlosfgti / gist:9c4973f373761511be1f1d35a917c13a
Created September 20, 2023 21:34
ci/cd - digital ocean workflow github actions
name: CI/CD
on:
push:
branches: [ "main" ]
jobs:
ci:
runs-on: ubuntu-latest
steps:
1) Se tiver o Docker instalado, remova!
2) Habilite o WSL no Windows 10
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
3) Habilitar o WSL para a versão 2
wsl --set-default-version 2
4) Instalar o Ubuntu na Microsoft Store