Skip to content

Merge pull request #36 from mateuseap/build-update-1737077685 #14

Merge pull request #36 from mateuseap/build-update-1737077685

Merge pull request #36 from mateuseap/build-update-1737077685 #14

Workflow file for this run

name: CD
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy -- -u "github-actions-bot <[email protected]>"