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 5cd952c commit c0b8bc4Copy full SHA for c0b8bc4
src/deploy.sh
@@ -2,10 +2,6 @@
2
3
set -eo pipefail
4
5
-echo "[notice] Run docs script"
6
-npm install node@lts
7
-npm run docs
8
-
9
echo "[notice] Set up cloned repo"
10
git clone $repo out -b $TARGET_BRANCH
11
cd out
src/main.ts
@@ -11,14 +11,12 @@ const {
GITHUB_REF,
12
GITHUB_REPOSITORY,
13
GITHUB_TOKEN,
14
- HOME,
15
} = process.env;
16
17
(async () => {
18
try {
19
const options = {
20
env: {
21
- HOME: HOME || '',
22
refName: GITHUB_REF?.split('/').pop() || '',
23
repo: `https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git`,
24
sourceType: GITHUB_REF?.split('/')[1] == 'heads' ? 'branch' : 'tag',
0 commit comments