Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
claustra01 committed Aug 9, 2024
1 parent 19d1cfd commit b63ab38
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/pr-visualizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
id-token: write

jobs:
visualizer:
build:
runs-on: ubuntu-latest

steps:
Expand All @@ -21,12 +21,23 @@ jobs:
npm install
npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/visualizer
publish_branch: gh-pages
path: ./dist/visualizer/


visualizer:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v4

- uses: actions/deploy-pages@v1

- name: Find existing comment
uses: peter-evans/find-comment@v2
Expand Down

0 comments on commit b63ab38

Please sign in to comment.