Skip to content

Commit

Permalink
Merge branch 'master' into ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanneHing authored Feb 9, 2025
2 parents 590fdfd + 283aba7 commit 8d3dee9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI

on:
on:
pull_request:
push:
branches:
- master
Expand All @@ -13,23 +14,27 @@ on:
# - cron: '0 0 * * *'

jobs:
deploy:
build:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2

- name: Install dependencies
run: pip install requests

- name: Generate report
run: |
export VITE_BASE_DIR="/$(basename $GITHUB_REPOSITORY)/"
echo "VITE_BASE_DIR: $VITE_BASE_DIR"
./run.sh
- name: Deploy GitHub pages
if : github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./reposense-report
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: Rebuild pages at
commit_message: Rebuild pages at

0 comments on commit 8d3dee9

Please sign in to comment.