Skip to content

Merge pull request #3 from CodevolveLabs/dev #3

Merge pull request #3 from CodevolveLabs/dev

Merge pull request #3 from CodevolveLabs/dev #3

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: de-vri-es/setup-git-credentials@v2
with:
credentials: ${{ secrets.GIT_CREDENTIALS }}
- name: Git setup
run: |
git config --global user.email "[email protected]"
git config --global user.name "Mateus Elias"
- name: Git fetch
run: |
git fetch --all
git branch -a
- name: Build & Deploy
run: |
npm install
npm run build
npm run deploy