Skip to content

Commit c0b8bc4

Browse files
committed
Exclude npm docs from action
1 parent 5cd952c commit c0b8bc4

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/deploy.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
set -eo pipefail
44

5-
echo "[notice] Run docs script"
6-
npm install node@lts
7-
npm run docs
8-
95
echo "[notice] Set up cloned repo"
106
git clone $repo out -b $TARGET_BRANCH
117
cd out

src/main.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ const {
1111
GITHUB_REF,
1212
GITHUB_REPOSITORY,
1313
GITHUB_TOKEN,
14-
HOME,
1514
} = process.env;
1615

1716
(async () => {
1817
try {
1918
const options = {
2019
env: {
21-
HOME: HOME || '',
2220
refName: GITHUB_REF?.split('/').pop() || '',
2321
repo: `https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git`,
2422
sourceType: GITHUB_REF?.split('/')[1] == 'heads' ? 'branch' : 'tag',

0 commit comments

Comments
 (0)