Skip to content

Commit 4aed17d

Browse files
committed
Add versioning
1 parent f91e1b4 commit 4aed17d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/nextjs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,13 @@ jobs:
195195
- name: List all renamed sites
196196
run: ls
197197

198+
- name: Unpack the latest at root
199+
run: |
200+
latest_dir=$(ls | grep -- '-$')
201+
echo "Latest directory is $latest_dir"
202+
cp -r "$latest_dir"/* .
203+
rm -rf "$latest_dir"
204+
198205
- name: Upload aggregate artifact
199206
uses: actions/upload-pages-artifact@v3
200207
with:

0 commit comments

Comments
 (0)