adjust to publish workflow refactoring