Add publish script to the CI environment