diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 07e304a..23810ce 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -16,12 +16,19 @@ jobs: run: pnpm run test --ignore-only - name: Sanity check it detects this CI run: | - if node index.js; then - echo "Success" + if node in.js; then + echo "in.js: Success" else echo "Failed for forgejo" exit 1 fi + + if node not.js; then + echo "Failed for forgejo" + exit 1 + else + echo "not.js: Success" + fi - name: Deply if new version run: | echo ""