Skip to content

Commit

Permalink
Extend GitHub Actions workflow to also update gh-pages (#279)
Browse files Browse the repository at this point in the history
Issue: #278
  • Loading branch information
mathiasbynens committed Jul 19, 2022
1 parent e600e1c commit 10c21b3
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Update
- name: Build
run: |
scripts/update-to-latest.sh
- name: Check out debugger-protocol-viewer
uses: actions/checkout@v2
with:
repository: ChromeDevTools/debugger-protocol-viewer
path: debugger-protocol-viewer
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

- name: Update gh-pages
working-directory: debugger-protocol-viewer
run: |
ls -lsa
npm install
npm run build
npm run deploy

0 comments on commit 10c21b3

Please sign in to comment.