Skip to content

Commit 10c21b3

Browse files
committed
Extend GitHub Actions workflow to also update gh-pages (#279)
Issue: #278
1 parent e600e1c commit 10c21b3

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/update.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ jobs:
2323
with:
2424
node-version-file: '.nvmrc'
2525

26-
- name: Update
26+
- name: Build
2727
run: |
2828
scripts/update-to-latest.sh
29+
30+
- name: Check out debugger-protocol-viewer
31+
uses: actions/checkout@v2
32+
with:
33+
repository: ChromeDevTools/debugger-protocol-viewer
34+
path: debugger-protocol-viewer
35+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
36+
37+
- name: Update gh-pages
38+
working-directory: debugger-protocol-viewer
39+
run: |
40+
ls -lsa
41+
npm install
42+
npm run build
43+
npm run deploy

0 commit comments

Comments
 (0)