Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Puffin Rock Characters Plush Toy Set
anil1961
Updated:
Nov 7, 2026
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Nov 4, 2026
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Nov 2, 2026
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Nov 1, 2026
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Problems and Troubleshooting
GitHub Action --> Deploy NodeJS application using workflow. -- Please help me
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="DevOps_Boy" data-source="post: 29204826" data-attributes="member: 584464"><p>මචන් මම github action වලින් pipeline එකක් ලිව්වා nodejs application එකක් බිල්ඩ් කරලා aws තියන සර්වර් එකේ /var/www/html/ folder එකට ඒ බිල්ඩ් වෙච්ච ෆයිල් ටික කොපි කරන්න. application එක build උනා.ඒත් aws server එකට කොපි කරද්දි අවුලක් එනවා. මම aws server eke ssh-keygen -t rsa වලින් පබ්ලික් කී එකක් github එකේ secret ස්ටොරෙ කරලා pipeline eke demma. eth copy වෙද්දි error එකක් එන්ව. මෙකේ අවුල මොකද්ද?මම මේකට ජිට් හබ් සර්වර් එකමයි යූස් කලේ කෝඩ් එක බිල්ඩ් කරන්න.</p><p></p><p></p><p>[CODE=yaml]name: Deployment QA UI</p><p>on: push</p><p>jobs:</p><p> Get_code:</p><p> runs-on: ubuntu-latest</p><p> steps:</p><p> - name: Get code</p><p> uses: actions/checkout@v4</p><p> - name: Install NodeJS</p><p> uses: actions/setup-node@v3</p><p> with:</p><p> node-version: 10</p><p> - name: Install dependancies</p><p> run: NODE_OPTIONS=--max_old_space_size=4096 npm install</p><p> - name: Check Nodejs</p><p> run: npx browserslist@latest --update-db</p><p> - name: Build project</p><p> run: NODE_OPTIONS=--max_old_space_size=4096 npm run build</p><p> - name: Go to build folder</p><p> run: |</p><p> cd /home/runner/work/simple_app/simple_app/build/</p><p> scp -i ${{ secrets.SSH_PRIVATE_KEY }} -r * centos@58.185.61.168:/var/www/html/[/CODE]</p><p></p><p>error එක</p><p></p><p></p><p>[CODE]Run cd /home/runner/work/simple_app/simple_app/build/</p><p> cd /home/runner/work/simple_app/simple_app/build/</p><p> scp -i *** -r * centos@18.191.61.250:/var/www/html/</p><p> shell: /usr/bin/bash -e {0}</p><p>Warning: Identity file ssh-rsa not accessible: No such file or directory.</p><p>Host key verification failed.</p><p>lost connection</p><p>Error: Process completed with exit code 1.[/CODE]</p></blockquote><p></p>
[QUOTE="DevOps_Boy, post: 29204826, member: 584464"] මචන් මම github action වලින් pipeline එකක් ලිව්වා nodejs application එකක් බිල්ඩ් කරලා aws තියන සර්වර් එකේ /var/www/html/ folder එකට ඒ බිල්ඩ් වෙච්ච ෆයිල් ටික කොපි කරන්න. application එක build උනා.ඒත් aws server එකට කොපි කරද්දි අවුලක් එනවා. මම aws server eke ssh-keygen -t rsa වලින් පබ්ලික් කී එකක් github එකේ secret ස්ටොරෙ කරලා pipeline eke demma. eth copy වෙද්දි error එකක් එන්ව. මෙකේ අවුල මොකද්ද?මම මේකට ජිට් හබ් සර්වර් එකමයි යූස් කලේ කෝඩ් එක බිල්ඩ් කරන්න. [CODE=yaml]name: Deployment QA UI on: push jobs: Get_code: runs-on: ubuntu-latest steps: - name: Get code uses: actions/checkout@v4 - name: Install NodeJS uses: actions/setup-node@v3 with: node-version: 10 - name: Install dependancies run: NODE_OPTIONS=--max_old_space_size=4096 npm install - name: Check Nodejs run: npx browserslist@latest --update-db - name: Build project run: NODE_OPTIONS=--max_old_space_size=4096 npm run build - name: Go to build folder run: | cd /home/runner/work/simple_app/simple_app/build/ scp -i ${{ secrets.SSH_PRIVATE_KEY }} -r * centos@58.185.61.168:/var/www/html/[/CODE] error එක [CODE]Run cd /home/runner/work/simple_app/simple_app/build/ cd /home/runner/work/simple_app/simple_app/build/ scp -i *** -r * centos@18.191.61.250:/var/www/html/ shell: /usr/bin/bash -e {0} Warning: Identity file ssh-rsa not accessible: No such file or directory. Host key verification failed. lost connection Error: Process completed with exit code 1.[/CODE] [/QUOTE]
Insert quotes…
Verification
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom