Skip to content

Commit cd63f4e

Browse files
authored
Update node.js.yml
1 parent cae6013 commit cd63f4e

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Deploy to GitHub Pages
22

33
on:
4-
push:
5-
branches: [master]
6-
paths: [website/**]
4+
release:
5+
types: [created]
76

87
jobs:
98
deploy:
@@ -18,7 +17,7 @@ jobs:
1817
- name: Build website
1918
working-directory: website
2019
run: |
21-
yarn install --frozen-lockfile
20+
yarn install
2221
yarn build
2322
2423
# Popular action to deploy to GitHub Pages:
@@ -28,10 +27,10 @@ jobs:
2827
with:
2928
github_token: ${{ secrets.GH_TOKEN }}
3029
# Build output to publish to the `gh-pages` branch:
31-
publish_dir: ./website/build
30+
publish_dir: ./build
3231
# Assign commit authorship to the official GH-Actions bot for deploys to `gh-pages` branch:
3332
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
3433
# The GH actions bot is used by default if you didn't specify the two fields.
3534
# You can swap them out with your own user credentials.
36-
user_name: github-actions[bot]
37-
user_email: 41898282+github-actions[bot]@users.noreply.github.com
35+
user_name: vinodloha
36+
user_email: vinodloha@gmail.com

0 commit comments

Comments
 (0)