To build the DEB file,
cd above the
<working directory> and build the DEB
dpkg-deb --build --root-owner-group <working directory>
This generates a DEB file. Move the file onto the target, and install and test on the target. If it works as expected, the DEB file is ready to be uploaded and published.