Skip to content

Commit

Permalink
fixed build errors, some using any(improve any in whole project)
Browse files Browse the repository at this point in the history
  • Loading branch information
Singh committed Oct 29, 2023
1 parent 6a97502 commit 4fff06f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 4fff06f

Please sign in to comment.