We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da0b65b commit 8915dafCopy full SHA for 8915daf
.github/workflows/remote-copy.yml
@@ -262,7 +262,12 @@ jobs:
262
$(gpgconf --list-dirs libexecdir)/gpg-preset-passphrase \
263
--passphrase '${{ secrets.GH_ACTIONS_BOT_GPG_PASSPHRASE }}' \
264
--preset '${{ secrets.GH_ACTIONS_BOT_GPG_KEYGRIP }}'
265
- cd "${{ vars.CONFIGS_INPUT_DIR }}" || echo "::error::Can't CD into vars.CONFIGS_INPUT_DIR to commit" && exit 2
+
266
+ if ! cd "${{ vars.CONFIGS_INPUT_DIR }}"; then
267
+ echo "::error::Can't CD into vars.CONFIGS_INPUT_DIR to commit"
268
+ exit 2
269
+ fi
270
271
git add .
272
git commit -m "Updated manifests as part of ${{ env.RUN_URL }}"
273
git push
0 commit comments