Skip to content

Commit 1be9849

Browse files
author
Robbie
committed
Fix workflow to only deploy website files, exclude project files
1 parent 6855736 commit 1be9849

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,44 @@ jobs:
2929
uses: actions/upload-pages-artifact@v3
3030
with:
3131
path: '.'
32+
exclude: |
33+
'**/*.py'
34+
'**/*.log'
35+
'**/*.db'
36+
'**/*.pkl'
37+
'**/*.joblib'
38+
'**/*.pt'
39+
'**/__pycache__/**'
40+
'**/backups/**'
41+
'**/checkpoints/**'
42+
'**/data/**'
43+
'**/datasets/**'
44+
'**/explanations/**'
45+
'**/input/**'
46+
'**/log/**'
47+
'**/memory/**'
48+
'**/models/**'
49+
'**/offline_cache/**'
50+
'**/output/**'
51+
'**/posts/**'
52+
'**/pretrained/**'
53+
'**/reports/**'
54+
'**/restored_data/**'
55+
'**/restored_example_data/**'
56+
'**/site/**'
57+
'**/templates/**'
58+
'**/tests/**'
59+
'**/tone/**'
60+
'**/versions/**'
61+
'**/wiki/**'
62+
'**/.git/**'
63+
'**/.github/workflows/**'
64+
'**/*.json'
65+
'**/*.csv'
66+
'**/*.txt'
67+
'**/*.yaml'
68+
'**/*.yml'
69+
'**/*.md'
3270
- name: Deploy to GitHub Pages
3371
id: deployment
3472
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)