Skip to content

Commit

Permalink
Merge pull request #1 from CodevolveLabs/dev
Browse files Browse the repository at this point in the history
feat: setup deploy workflow
  • Loading branch information
mateuseap authored Oct 25, 2024
2 parents 8d98a81 + 9240bd7 commit 49fc9ef
Show file tree
Hide file tree
Showing 5 changed files with 375 additions and 27 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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
Loading

0 comments on commit 49fc9ef

Please sign in to comment.