diff --git a/.github/main.workflow b/.github/main.workflow index 041e425..ea0c7cf 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -23,10 +23,10 @@ action "npm run build" { } action "Build metadata" { - uses = "veggiemonk/bin/git@master" - runs = "sh -c \"$@\"" - args = "node buildMetadata.js" needs = ["npm run build"] + uses = "actions/npm@master" + runs = "sh -c \"node $*\"" + args = "buildMetadata.js" secrets = ["GITHUB_TOKEN"] env = { GIT_EMAIL = "alex.blaine@layder.io" diff --git a/push.sh b/push.sh index d84a73b..8bb625f 100755 --- a/push.sh +++ b/push.sh @@ -18,7 +18,7 @@ files=$(git diff --cached --numstat | wc -l | tr -d '[:space:]'); [[ $files -eq 0 ]] && echo "nothing to push, exiting..." && exit echo "Commiting files" -git commit -m "Automated update repository metadata [skip ci]" +git commit -m "Automated update repository metadata [skip-ci]" echo "Pushing changes" git push https://"$GIT_USER:$GITHUB_TOKEN"@github.com/veggiemonk/awesome-docker master >/dev/null 2>&1