Skip to content

Commit 0fc4aaf

Browse files
committed
build: use env vars
1 parent 1fabddb commit 0fc4aaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
env:
99
GITHUB_NAME: The Buildbot
1010
GITHUB_EMAIL: [email protected]
11+
BRANCH: gh-pages
1112

1213
jobs:
1314
build-and-deploy:
@@ -31,4 +32,4 @@ jobs:
3132
- name: Deploy to branch
3233
env:
3334
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
run: cd build && npx angular-cli-ghpages --no-notfound --dir=dist --branch=gh-pages --no-silent --name="$GITHUB_NAME" --email="$GITHUB_EMAIL"
35+
run: cd build && npx angular-cli-ghpages --no-notfound --dir=dist --branch="$BRANCH" --name="$GITHUB_NAME" --email="$GITHUB_EMAIL"

0 commit comments

Comments
 (0)