-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed build errors, some using any(improve any in whole project)
- Loading branch information
Singh
committed
Oct 29, 2023
1 parent
6a97502
commit 4fff06f
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ env: | |
PROJECT_NAME: timetracking # Change project name | ||
PROJECT_TYPE: frontend # Change to backend for backend deployment | ||
WORKING_DIRECTORY: frontend # Change to backend for backend deployment | ||
WORKING_DIRECTORY_PIPELINE: ./ # Change to backend for backend deployment | ||
DEV_APP_PORT: 3001 # Update this port as needed | ||
DEV_DOMAIN_NAME: timetracking.avrean.net # Change domain name | ||
PROD_APP_PORT: 3622 # Update this port as needed | ||
|
@@ -30,7 +31,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
working-directory: ${{ env.WORKING_DIRECTORY_PIPELINE }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
@@ -96,7 +97,7 @@ jobs: | |
host: ${{ env.SERVER_IP }} | ||
username: ${{ env.SERVER_USER }} | ||
password: ${{ env.SERVER_PASSWORD }} | ||
source: . | ||
source: ${{ env.WORKING_DIRECTORY_PIPELINE }} | ||
target: /home/${{ env.SERVER_USER }}/sites/${{ env.PROJECT_NAME }}/${{ env.ENVIRONMENT }}/ | ||
- name: Deploy | ||
uses: appleboy/[email protected] | ||
|