Created
August 2, 2023 21:57
-
-
Save greenido/c92241907d68a740030592b182a0f6d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zx | |
await $`cat package.json | grep name` | |
let branch = await $`git branch --show-current` | |
await $`dep deploy --branch=${branch}` | |
await Promise.all([ | |
$`sleep 1; echo 1`, | |
$`sleep 2; echo 2`, | |
$`sleep 3; echo 3`, | |
]) | |
let name = 'foo bar' | |
await $`mkdir /tmp/${name}` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment