Commit b463a1c 1 parent 2c83fb5 commit b463a1c Copy full SHA for b463a1c
File tree 2 files changed +17
-2
lines changed
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 5
5
# Runs on pushes targeting the default branch
6
6
push :
7
7
branches :
8
- - main
8
+ - akaflieg- main
9
9
10
10
# Allows you to run this workflow manually from the Actions tab
11
11
workflow_dispatch :
64
64
uses : actions/upload-pages-artifact@v2
65
65
with :
66
66
path : ./public
67
+ - name : Build with Hugo
68
+ env :
69
+ # For maximum backward compatibility with Hugo modules
70
+ HUGO_ENVIRONMENT : production
71
+ HUGO_ENV : production
72
+ run : |
73
+ cd subpages/crogos.github.io
74
+ hugo \
75
+ --gc \
76
+ --minify \
77
+ --baseURL "${{ steps.pages.outputs.base_url }}/staging"
78
+ - name : Upload artifact
79
+ uses : actions/upload-pages-artifact@v2
80
+ with :
81
+ path : ./public/staging
67
82
68
83
# Deployment job
69
84
deploy :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Generate thumbnails
2
2
on :
3
3
push :
4
4
branches :
5
- - images
5
+ - akaflieg-main
6
6
paths :
7
7
- ' content-img/**/*' # Only run on this path changes
8
8
permissions :
You can’t perform that action at this time.
0 commit comments