Commit a379b51 1 parent b463a1c commit a379b51 Copy full SHA for a379b51
File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 60
60
--gc \
61
61
--minify \
62
62
--baseURL "${{ steps.pages.outputs.base_url }}/"
63
- - name : Upload artifact
64
- uses : actions/upload-pages-artifact@v2
65
- with :
66
- path : ./public
67
- - name : Build with Hugo
63
+ - name : Build with Hugo Staging
68
64
env :
69
65
# For maximum backward compatibility with Hugo modules
70
66
HUGO_ENVIRONMENT : production
@@ -74,11 +70,12 @@ jobs:
74
70
hugo \
75
71
--gc \
76
72
--minify \
77
- --baseURL "${{ steps.pages.outputs.base_url }}/staging"
73
+ --baseURL "${{ steps.pages.outputs.base_url }}/staging"
74
+ --publishDir "/public/staging"
78
75
- name : Upload artifact
79
76
uses : actions/upload-pages-artifact@v2
80
77
with :
81
- path : ./public/staging
78
+ path : ./public
82
79
83
80
# Deployment job
84
81
deploy :
You can’t perform that action at this time.
0 commit comments