Skip to content

Commit fa9647b

Browse files
authored
Update main.yml
1 parent d04a8f6 commit fa9647b

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Node.js
1616
uses: actions/setup-node@v4
1717
with:
18-
node-version: '20' # Or your preferred version
18+
node-version: '20'
1919

2020
- name: Install and Build
2121
run: |
@@ -42,19 +42,7 @@ jobs:
4242
username: ${{ secrets.SSH_USERNAME }}
4343
key: ${{ secrets.SSH_KEY }}
4444
passphrase: ${{ secrets.SSH_PASSPHRASE }}
45-
# Adjust 'dist/your-app-name/browser' to match your actual build folder
46-
source: "dist/your-app-name/browser/*"
45+
source: "dist/lucent-angular/browser/*"
4746
target: "/var/www/lucent"
48-
strip_components: 3 # Adjust this so files land directly in /lucent
47+
strip_components: 3
4948
rm: false
50-
51-
- name: Finalize Permissions (SSH)
52-
uses: appleboy/ssh-action@v1.0.3
53-
with:
54-
host: ${{ secrets.SSH_HOST }}
55-
username: ${{ secrets.SSH_USERNAME }}
56-
key: ${{ secrets.SSH_KEY }}
57-
passphrase: ${{ secrets.SSH_PASSPHRASE }}
58-
script: |
59-
sudo /usr/bin/chown -R www-data:www-data /var/www/lucent
60-
sudo /usr/bin/chmod -R 755 /var/www/lucent

0 commit comments

Comments
 (0)