feat: gh action path
This commit is contained in:
parent
a77d4dd6af
commit
0308292dbd
2 changed files with 5 additions and 1 deletions
|
@ -45,7 +45,9 @@ runs:
|
|||
|
||||
echo "Using tag: $TAG"
|
||||
|
||||
yarn node $GITHUB_ACTION_PATH/index.js
|
||||
cd $GITHUB_ACTION_PATH
|
||||
yarn node index.js
|
||||
cd $GITHUB_WORKSPACE
|
||||
|
||||
git config user.name "forgejo-actions"
|
||||
git config user.email "bot@devthefuture.org"
|
||||
|
|
|
@ -34,6 +34,8 @@ const main = async () => {
|
|||
const cdApp = process.env.CD_APP;
|
||||
const cdEnv = process.env.CD_ENV;
|
||||
const cdKey = process.env.CD_KEY;
|
||||
const workspace = process.env.GITHUB_WORKSPACE;
|
||||
process.cwd(workspace);
|
||||
let apps;
|
||||
if (cdApp.includes("\n")) {
|
||||
apps = yamlLoadAll(cdApp);
|
||||
|
|
Loading…
Add table
Reference in a new issue