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
ඔයාගෙ Assignment හෝ Thesis එක හරියට හදාගමු
ErMurazor
Updated:
Saturday at 10:52 PM
Ad icon
BlackWall V2ray servers
hu KANNA
Updated:
Wednesday at 4:58 AM
Peppa Pig Family Plush Toy Set – 5 Characters
anil1961
Updated:
Sep 19, 2026
Ad icon
Express VPN PC - 1 Year Rs. 600.00
Sanathbh
Updated:
Sep 19, 2026
Ad icon
Capcut Pro 7 Days Team Plan - Rs. 3️⃣0️⃣0️⃣
Sanathbh
Updated:
Sep 19, 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
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom