Skip to content

Commit

Permalink
Update GitHub Actions workflow and index page
Browse files Browse the repository at this point in the history
  • Loading branch information
qinip committed Sep 15, 2024
1 parent 137f787 commit bca45f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/generate_plots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,18 @@ jobs:
python -m pip install --upgrade pip
pip install pandas plotly
- name: Generate plot
- name: Run Plot1 script
run: |
cd docs/plot1
python pci_nko_fg1.py
ls -la
- name: Run Plot2 script
run: |
cd ../plot2
python pci_nko_fg2.py
ls -la
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body>
<!-- Embedding Plot 1 -->
<iframe src="plot1/plot.html" width="100%" height="600px" frameborder="0"></iframe>
<iframe src="plot1/plot1.html" width="100%" height="600px" frameborder="0"></iframe>

<!-- Embedding Plot 2 -->
<iframe src="plot2/plot2.html" width="100%" height="600px" frameborder="0"></iframe>
Expand Down

0 comments on commit bca45f1

Please sign in to comment.