File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 : |
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
You can’t perform that action at this time.
0 commit comments