Github Actions 使用踩坑

主要是environment secret与repo的secret是不同的,在step中引用的是repo的secret,在env中引用的是env的secret。

https://blog.benoitblanchon.fr/github-action-run-ssh-commands/

https://docs.github.com/cn/actions/reference/environment-variables

image-20210517125008591