File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -75,28 +75,40 @@ jobs:
75
75
- name : Verify combined content in Writerside output
76
76
run : ls -la dir
77
77
78
- # Save combined Writerside + CodeLabs artifact
78
+ # Zip the combined Writerside + CodeLabs content
79
+ - name : Zip combined content
80
+ run : zip -r combined-docs.zip dir
81
+
82
+ # Save the ZIP artifact with combined Writerside + CodeLabs content
79
83
- name : Save combined artifact with Writerside and CodeLabs
80
84
uses : actions/upload-artifact@v4
81
85
with :
82
86
name : docs
83
- path : dir
87
+ path : combined-docs.zip
84
88
retention-days : 7
85
89
86
90
deploy :
87
91
environment :
88
92
name : github-pages
89
93
url : ${{ steps.deployment.outputs.page_url }}
90
- # Requires build job results
91
94
needs : build
92
95
runs-on : ubuntu-latest
93
96
94
97
steps :
98
+ # Download the artifact (ZIP file)
95
99
- name : Download artifact
96
100
uses : actions/download-artifact@v4
97
101
with :
98
102
name : docs
99
103
104
+ # Unzip the artifact
105
+ - name : Unzip artifact
106
+ run : unzip combined-docs.zip -d dir
107
+
108
+ # Verify the unzipped content
109
+ - name : Verify unzipped content
110
+ run : ls -la dir
111
+
100
112
# Set up for GitHub Pages deployment
101
113
- name : Setup Pages
102
114
You can’t perform that action at this time.
0 commit comments