SFDO-Tooling / CumulusCI

Python framework for building portable automation for Salesforce projects

Home Page:http://cumulusci.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with "cci org import" in github action

alexey-gorbach opened this issue · comments

Describe the bug

I have implemented the CCI workflow with Github Actions.

I authorized in org using the next commands:

echo ${{ secrets.DEV_AUTH_URL }} > sfdx_auth
sfdx force:auth:sfdxurl:store -f sfdx_auth -d -a DEV

And try to use the next command:
cci org import DEV DEV_ORG

And get this error:
Expecting value: line 1 column 1 (char 0)

Reproduction steps

Create a Github Action with cci org import command inside.

Your CumulusCI and Python versions

CumulusCI version: 3.71.0 (/opt/pipx_bin/cci)
Python version: 3.11.1 (/opt/pipx/venvs/cumulusci/bin/python)

Operating System

Github Actions

Windows environment

No response

CumulusCI installation method

pipx

Error Gist

No response

Additional information

No response

Most likely, there's an issue with shell expansion + GitHub Actions' interpolation of the value. Try

echo '${{ secrets.DEV_AUTH_URL }}' > sfdx_auth