【发布时间】:2020-12-08 21:58:49
【问题描述】:
我正在尝试在我的 Github 操作中设置 SendGrid。我正在使用 SendGrid 操作。
根据docs,我可以使用类似的替代路径
- name: SendGrid
uses: peter-evans/sendgrid-action@v1
env:
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}
SCRIPT_FILEPATH: ../src/helper/sendgrid/script.js
但每次我运行 Github 操作时,我都会收到此错误 /entrypoint.sh: line 8: ../src/helper/sendgrid/script.js: not found
我有什么遗漏吗?
更新:
我将路径更改为./src/helper/sendgrid/script.js,但出现新错误/entrypoint.sh: line 8: ./src/helper/sendgrid/script.js: Permission denied
【问题讨论】:
-
你的意思是
./src/helper/sendgrid/script.js?
标签: node.js sendgrid github-actions