Skip to content

Commit c8d8033

Browse files
committed
restore artifact from previous run
1 parent d134779 commit c8d8033

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/static.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,22 @@ jobs:
4141

4242
- name: Install build dependencies
4343
run: |
44-
mkdir ../gh-pages
4544
npm install [email protected] -g
4645
npm install @jsdoc/[email protected] -g
4746
47+
- name: Restore previous github-pages artifact
48+
run: |
49+
wget ${{ url }}artifact.zip
50+
unzip artifact.zip
51+
mv gh-pages/ ../gh-pages
52+
4853
- name: Build master documentation
4954
run: |
5055
cd ./geonode_mapstore_client/client/
5156
npm run docs
5257
cd ../../
5358
cp -a ./geonode_mapstore_client/static/fonts/. ./docs/fonts/
59+
rm -rf ../gh-pages/master
5460
mv ./docs ../gh-pages/master
5561
cd ../
5662
zip -r artifact.zip gh-pages/

0 commit comments

Comments
 (0)