Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
676cd825bf | ||
|
|
9d68556ebf |
@@ -14,3 +14,7 @@ runs:
|
|||||||
using: docker
|
using: docker
|
||||||
image: dockerfile
|
image: dockerfile
|
||||||
entrypoint: /action/entrypoint.sh
|
entrypoint: /action/entrypoint.sh
|
||||||
|
env:
|
||||||
|
# 將 Gitea 自動提供的 token 注入容器環境,供 index.js 讀取 GITHUB_TOKEN/GITEA_TOKEN 用;
|
||||||
|
# docker action 不會自動把 token 帶進容器,須在此明確以 ${{ gitea.token }} 賦值傳入
|
||||||
|
GITHUB_TOKEN: ${{ gitea.token }}
|
||||||
|
|||||||
Reference in New Issue
Block a user