Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh.ParsePrivateKey: x509: unknown elliptic curve #176

Open
faisalshah42 opened this issue Aug 13, 2022 · 1 comment
Open

ssh.ParsePrivateKey: x509: unknown elliptic curve #176

faisalshah42 opened this issue Aug 13, 2022 · 1 comment

Comments

@faisalshah42
Copy link

Getting this ssh.ParsePrivateKey: x509: unknown elliptic curve error while trying to define pipeline for laravel CI / CD.

Here is my github workflow:

name: Laravel

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
laravel-tests:
runs-on: ubuntu-latest

steps:
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
  with:
    php-version: '7.4'
- uses: actions/checkout@v3
- name: Copy .env
  run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
  run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Install doctrine/dbal
  run: composer require doctrine/dbal:"2.13.9"
- name: Generate key
  run: php artisan key:generate
- name: Directory Permissions
  run: chmod -R 777 storage bootstrap/cache
- name: Create Database
  run: |
    mkdir -p database
    touch database/database.sqlite
- name: Execute tests (Unit and Feature tests) via PHPUnit
  env:
    DB_CONNECTION: sqlite
    DB_DATABASE: database/database.sqlite
  run: php artisan migrate --seed

build:
runs-on: ubuntu-latest

steps:
  - name: Checkout

    uses: actions/checkout@v2

  - name: Setup Node.js

    uses: actions/setup-node@v2-beta

    with:
      node-version: "12"

      check-latest: true

  - name: Install NPM dependencies

    run: npm install

  - name: Compile assets for production

    run: npm run production

deploy:
runs-on: ubuntu-latest

steps:
  - name: Checkout

    uses: actions/checkout@v2

  - name: Deployment

    uses: appleboy/ssh-action@master

    with:
      host: ${{ secrets.HOST }}
      key: ${{ secrets.SSHKEY }}
      username: ${{ secrets.USERNAME }}
      #timeout: 360s
      script: |

        cd /var/www/html/

        git checkout -f 

        git pull
@tkpitta
Copy link

tkpitta commented Dec 5, 2023

Same thing here, is there a solution available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants