diff --git a/.github/deploy-to-github.yml b/.github/deploy-to-github.yml new file mode 100644 index 0000000..a678bc8 --- /dev/null +++ b/.github/deploy-to-github.yml @@ -0,0 +1,26 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Build project + run: | + # Comandos para build do seu projeto + npm install + npm run build + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.MyGITHUB_TOKEN }} + publish_dir: ./public