Use push() to add the post variable to the published array.

Make sure to pick published.push followed by ( and then post, ), ;.