Skip to content

Commit

Permalink
chore: update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca committed Sep 6, 2024
1 parent 9fd28fa commit b5cdc1e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy

on:
workflow_dispatch:
push:
branches:
- main

jobs:
deploy-report:
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 20

- name: Checkout
uses: actions/checkout@v2
- run: |
cd ./reports
npm install
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./reports/dist
publish_branch: gh-pages

0 comments on commit b5cdc1e

Please sign in to comment.