Since gitlab use public folder for storing public assets, we only need to move exported script/files from out directory to public directory by executing
cp -r out/* public
Note that exported next.js project not supporting params url (dynamic url), so we must convert it to query based param (?param=value)