Skip to content

Commit

Permalink
Merge pull request #3 from nduboi/2-deploy-the-project-to-the-main-se…
Browse files Browse the repository at this point in the history
…rver

2 deploy the project to the main server
  • Loading branch information
nduboi authored Apr 9, 2024
2 parents 82856c2 + 5adac8b commit 134dba5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on: push
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4

- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.ftp_host }}
username: ${{ secrets.ftp_user }}
password: ${{ secrets.ftp_password }}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build: ./app_server
container_name: app_js
ports:
- "80:80"
- "8083:80"
volumes:
- ./app_server:/app_app
env_file:
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ MYSQL_HOST=(database_service) by default db
docker-compose up -d
```

Go to this website http://localhost:80
Go to this website http://localhost:8083

## Requirements

Expand Down

0 comments on commit 134dba5

Please sign in to comment.