Skip to content

Commit

Permalink
Added custom GH pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhaowu committed Aug 27, 2023
1 parent 49e44b0 commit c6bae94
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/pages/00-install-dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

tools/install-build-deps --ui
3 changes: 3 additions & 0 deletions .github/pages/01-build-perfetto-ui.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

ui/build
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
branches:
- cactus-rt

name: deploy

jobs:
build-and-deploy:
runs-on: [self-hosted, jammy]

steps:
- uses: actions/checkout@v3

- name: Setup dependencies
run: .github/deploy/00-install-dependencies.sh

- name: Build Perfetto UI
run: .github/deploy/01-build-perfetto-ui.sh

0 comments on commit c6bae94

Please sign in to comment.