Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Allison67 committed Dec 6, 2023
1 parent 58b498c commit bbd95d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI/CD Pipeline
name: CI

on:
push:
Expand All @@ -24,14 +24,16 @@ jobs:

- name: "Create Back-end .env File"
run: |
pwd
hostname
cd back-end
touch .env
echo FRONT_END_DOMAIN=${{ secrets.FRONT_END_DOMAIN }} >> .env
echo REACT_APP_BACKEND=${{ secrets.REACT_APP_BACKEND }} >> .env
echo JWT_SECRET=${{ secrets.JWT_SECRET }} >> .env
echo JWT_EXP_DAYS=${{ secrets.JWT_EXP_DAYS }} >> .env
echo MONGODB_URI=${{ secrets.MONGODB_URI }} >> .env
echo AVATAR_GENERATOR=${{ secrets.AVATAR_GENERATOR }} >> .env
working-directory: ./back-end
- name: Install front-end dependencies
run: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
username: ${{ secrets.SSH_USER }}
script: |
pwd
hostname
cd 4-final-project-group-bill-splitting-app
git pull origin master
docker-compose down
docker-compose up --build -d
# docker-compose down
# docker-compose up --build -d
# git pull
# cd front-end
Expand Down

0 comments on commit bbd95d3

Please sign in to comment.