Skip to content

Commit

Permalink
feat: ci/cd pipeline added (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tusharjain123 authored Jan 15, 2024
1 parent 9f037c6 commit ed2bd91
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Services
on:
push:
branches: [main]

jobs:
build_deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.14.2
- name: Installing Dependencies
run: npm ci
- name: Building
run: npm run build
- name: Deploying
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: "frontend/build/"

0 comments on commit ed2bd91

Please # to comment.