Skip to content

support push submodule #152

Closed
Closed

Description

@dimaslanjaka

can this action push submodules too ?

Activity

  1. ZPascal commented on Feb 9, 2023

    @ZPascal
    Collaborator

    @dimaslanjaka Do you mean to update the corresponding used version of the submodule inside the mean repository, or something like the git push --recurse-submodules=on-demand command?

  2. dimaslanjaka commented on Feb 10, 2023

    @dimaslanjaka
    Author

    yes.

    ive used https://github.com/JamesIves/github-pages-deploy-action with command

    - run: git submodule foreach "git add -A | :"
    - run: git submodule foreach "git commit -m \"message\" | :"
    - name: Deploy 🚀
            uses: JamesIves/github-pages-deploy-action@v4
            with:
              folder: .

    push successful but, submodules not pushed to remote. when i pull got error "commit hash not in our refs".

    So, is ad-m/github-push-action can do that ?

  3. ZPascal commented on Feb 10, 2023

    @ZPascal
    Collaborator

    @dimaslanjaka Not yet, but I can prepare the corresponding PR inside the next few days.

  4. dimaslanjaka commented on Feb 12, 2023

    @dimaslanjaka
    Author

    thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions