With the new update, my GitHub Action stopped work...
# ask-community
m
With the new update, my GitHub Action stopped working. I made a Key, put it in my Repo's secrets, and now I get this:
Copy code
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/.prefect/auth.toml'
this is the snippet that's being run:
Copy code
run: prefect auth login --key ${{secrets.PREFECT_KEY}}
You can use a envvar
m
Sweet, thanks! Trying now
Sweet, worked, thanks!
🚀 1
r
@Kyle Moon-Wright Has this issue been logged/acknowledged by Prefect? Using an environment variable works for us as well as a workaround, but our usual workflow registering flows during CI/CD with a
prefect auth login -k <key>
command doesn’t work. This seems like a legitimate issue to me.
k
Hey Ryan - would you be able to open an issue to provide more information on this? I have not been able to replicate the issue with
prefect auth login -k <key>
using the latest version of Prefect (and I’ve not encountered this issue so far).
r
Sure thing, I still need to submit the other issue related to imagePullSecrets as well, so I’ll do both at the same time 👍
🙏 1