Skip to content

Commit 2752370

Browse files
author
Nora
committed
fix: stabilize pages deploy and add missing-paper issue template
1 parent da0007e commit 2752370

File tree

6 files changed

+3
-113
lines changed

6 files changed

+3
-113
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ jobs:
6363
run: mkdocs build
6464

6565
- name: Setup Pages
66+
if: github.event_name == 'push'
6667
uses: actions/configure-pages@v4
6768

6869
- name: Upload artifact
70+
if: github.event_name == 'push'
6971
uses: actions/upload-pages-artifact@v3
7072
with:
7173
path: ./site
@@ -76,7 +78,7 @@ jobs:
7678
url: ${{ steps.deployment.outputs.page_url }}
7779
runs-on: ubuntu-latest
7880
needs: build
79-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
81+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
8082
steps:
8183
- name: Deploy to GitHub Pages
8284
id: deployment

data/tables/table1.csv

Lines changed: 0 additions & 42 deletions
This file was deleted.

data/tables/table2.csv

Lines changed: 0 additions & 8 deletions
This file was deleted.

data/tables/table3.csv

Lines changed: 0 additions & 14 deletions
This file was deleted.

data/tables/table4.csv

Lines changed: 0 additions & 32 deletions
This file was deleted.

data/tables/table5.csv

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)