Skip to content

Having issues pushing to WP Engine #1

@TatsumiSuenaga

Description

@TatsumiSuenaga

I'm getting this issue

error: src refspec master does not match any.
error: failed to push some refs to '[email protected]:production/stagingenv.git'

I've tried changing my private and public rsa keys (the one that currently works when I push, and a deploy specific one).

Could it be an issue with my private key? All I do is pbcopy < ~/.ssh/id_rsa to get my private key.

Also, below is an example of my workflow yml.

name: Staging CI

on:
  push:
    branches: [ staging ]

jobs:

  deploy:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: GitHub Action for WP Engine Git Deployment
      uses: jovrtn/[email protected]
      env:
        WPENGINE_ENVIRONMENT_NAME: stagingenv
        WPENGINE_SSH_KEY_PRIVATE: ${{ secrets.WPENGINE_SSH_KEY_PRIVATE }}
        WPENGINE_SSH_KEY_PUBLIC: ${{ secrets.WPENGINE_SSH_KEY_PUBLIC }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions