Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to git pull before these actions (copy, add, commit, push) #447

Open
dimaslanjaka opened this issue Oct 14, 2022 · 0 comments
Open

How to git pull before these actions (copy, add, commit, push) #447

dimaslanjaka opened this issue Oct 14, 2022 · 0 comments

Comments

@dimaslanjaka
Copy link

dimaslanjaka commented Oct 14, 2022

my deploy code, before executing below function, i executing copy (gulp copy)

ghpages.publish(
  destDir,
  {
    branch: 'gh-pages',
    dotfiles: true,
    message: 'update site ' + moment().format('LLL'),
    repo: pkg.repository.url
  },
  resolvePromise
)

how to pull before copying ?
should i using spawn git ?, can i doing it with this library, without spawning git again ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant