mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-18 09:52:35 +00:00
chore: fix env
This commit is contained in:
parent
4c6d8048c5
commit
174e0a884c
2 changed files with 3 additions and 9 deletions
|
|
@ -2,8 +2,8 @@
|
|||
#
|
||||
# Entrypoint for Docker.
|
||||
|
||||
readonly CONFIGURATION_FILE="${1}"
|
||||
readonly TOKEN="${2}"
|
||||
readonly CONFIGURATION_FILE="${INPUT_CONFIGURATIONFILE}"
|
||||
readonly TOKEN="${INPUT_TOKEN}"
|
||||
|
||||
export RENOVATE_CONFIG_FILE="${GITHUB_WORKSPACE}/${CONFIGURATION_FILE}"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,4 @@
|
|||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
const cfg = process.env[`INPUT_CONFIGURATIONFILE`];
|
||||
const token = process.env[`INPUT_TOKEN`];
|
||||
const ws = process.env.GITHUB_WORKSPACE;
|
||||
|
||||
console.dir(process.env);
|
||||
|
||||
execSync(`bash -c ${ws}/src/entrypoint.sh '${cfg}' '${token}'`);
|
||||
execSync(`bash -c ${process.env.GITHUB_WORKSPACE}/src/entrypoint.sh`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue