Skip to content

Commit de68c9d

Browse files
committed
try: use angular-cli-ghpages@2 to fix deploy issue
1 parent f29540f commit de68c9d

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/build-article-data.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,8 @@ jobs:
4343
echo "=== DEBUG: dist/blog/ first entries ==="
4444
ls dist/blog/ | head -5
4545
46-
echo "=== Installing angular-cli-ghpages ==="
47-
npm install angular-cli-ghpages
46+
echo "=== Installing angular-cli-ghpages@2 ==="
47+
npm install angular-cli-ghpages@2
4848
49-
echo "=== DEBUG: Checking if dist is absolute path ==="
50-
realpath dist
51-
52-
echo "=== Running angular-cli-ghpages with verbose output ==="
53-
DEBUG=gh-pages npx angular-cli-ghpages --no-notfound --dir=dist --branch="$BRANCH" --name="$GITHUB_NAME" --email="$GITHUB_EMAIL"
54-
55-
echo "=== DEBUG: Cache dir contents after deploy ==="
56-
ls -la node_modules/.cache/gh-pages/ 2>/dev/null || echo "No cache dir found"
49+
echo "=== Running angular-cli-ghpages v2 ==="
50+
npx angular-cli-ghpages --no-notfound --dir=dist --branch="$BRANCH" --name="$GITHUB_NAME" --email="$GITHUB_EMAIL"

0 commit comments

Comments
 (0)