├── .github ├── FUNDING.yml └── workflows │ ├── badges.yml │ ├── ci-pr.yml │ ├── ci.yml │ ├── copy-to-master.yml │ └── cron.yml ├── LICENSE ├── README.md ├── action.yml └── action ├── .gitignore ├── dist └── index.js ├── package-lock.json ├── package.json ├── prettier.config.js ├── resources └── known_hosts_github.com ├── src ├── index.ts └── run.ts ├── test ├── bin │ ├── generate-known-hosts.sh │ ├── port-forward.js │ ├── post-run-clean.sh │ └── run-tests.sh ├── docker-compose.yml ├── docker │ └── git-ssh │ │ └── Dockerfile ├── jest-global-setup-hooks.ts ├── jest-global-setup.ts ├── jest.config.js ├── specs │ ├── __snapshots__ │ │ ├── ssh-custom-messages.spec.ts.snap │ │ ├── ssh-custom-tags.spec.ts.snap │ │ ├── ssh-custom-username-email.spec.ts.snap │ │ ├── ssh-existing-branch-custom-rm-globs.spec.ts.snap │ │ ├── ssh-existing-branch-folder-space.spec.ts.snap │ │ ├── ssh-existing-branch-squash.spec.ts.snap │ │ ├── ssh-existing-branch.spec.ts.snap │ │ ├── ssh-no-branch-custom-pusher.spec.ts.snap │ │ ├── ssh-no-branch-squash.spec.ts.snap │ │ ├── ssh-no-branch.spec.ts.snap │ │ ├── ssh-skip-empty-commits.spec.ts.snap │ │ ├── ssh-target-dir-exists.spec.ts.snap │ │ └── ssh-target-dir-no-exists.spec.ts.snap │ ├── misconfiguration.spec.ts │ ├── self.spec.ts │ ├── ssh-custom-messages.spec.ts │ ├── ssh-custom-tags.spec.ts │ ├── ssh-custom-username-email.spec.ts │ ├── ssh-existing-branch-custom-rm-globs.spec.ts │ ├── ssh-existing-branch-folder-space.spec.ts │ ├── ssh-existing-branch-squash.spec.ts │ ├── ssh-existing-branch.spec.ts │ ├── ssh-github.spec.ts │ ├── ssh-no-branch-custom-pusher.spec.ts │ ├── ssh-no-branch-squash.spec.ts │ ├── ssh-no-branch.spec.ts │ ├── ssh-skip-empty-commits.spec.ts │ ├── ssh-target-dir-exists.spec.ts │ └── ssh-target-dir-no-exists.spec.ts ├── util.ts └── util │ ├── git.ts │ └── io.ts └── tsconfig.json /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: s0 4 | -------------------------------------------------------------------------------- /.github/workflows/badges.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/.github/workflows/badges.yml -------------------------------------------------------------------------------- /.github/workflows/ci-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/.github/workflows/ci-pr.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/copy-to-master.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/.github/workflows/copy-to-master.yml -------------------------------------------------------------------------------- /.github/workflows/cron.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/.github/workflows/cron.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/README.md -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action.yml -------------------------------------------------------------------------------- /action/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/.gitignore -------------------------------------------------------------------------------- /action/dist/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/dist/index.js -------------------------------------------------------------------------------- /action/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/package-lock.json -------------------------------------------------------------------------------- /action/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/package.json -------------------------------------------------------------------------------- /action/prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "singleQuote": true 3 | } -------------------------------------------------------------------------------- /action/resources/known_hosts_github.com: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/resources/known_hosts_github.com -------------------------------------------------------------------------------- /action/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/src/index.ts -------------------------------------------------------------------------------- /action/src/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/src/run.ts -------------------------------------------------------------------------------- /action/test/bin/generate-known-hosts.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/bin/generate-known-hosts.sh -------------------------------------------------------------------------------- /action/test/bin/port-forward.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/bin/port-forward.js -------------------------------------------------------------------------------- /action/test/bin/post-run-clean.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | rm -f ~/.ssh/known_hosts -------------------------------------------------------------------------------- /action/test/bin/run-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/bin/run-tests.sh -------------------------------------------------------------------------------- /action/test/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/docker-compose.yml -------------------------------------------------------------------------------- /action/test/docker/git-ssh/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/docker/git-ssh/Dockerfile -------------------------------------------------------------------------------- /action/test/jest-global-setup-hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/jest-global-setup-hooks.ts -------------------------------------------------------------------------------- /action/test/jest-global-setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/jest-global-setup.ts -------------------------------------------------------------------------------- /action/test/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/jest.config.js -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-custom-messages.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-custom-messages.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-custom-tags.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-custom-tags.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-custom-username-email.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-custom-username-email.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-existing-branch-custom-rm-globs.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-existing-branch-custom-rm-globs.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-existing-branch-folder-space.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-existing-branch-folder-space.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-existing-branch-squash.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-existing-branch-squash.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-existing-branch.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-existing-branch.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-no-branch-custom-pusher.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-no-branch-custom-pusher.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-no-branch-squash.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-no-branch-squash.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-no-branch.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-no-branch.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-skip-empty-commits.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-skip-empty-commits.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-target-dir-exists.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-target-dir-exists.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/__snapshots__/ssh-target-dir-no-exists.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/__snapshots__/ssh-target-dir-no-exists.spec.ts.snap -------------------------------------------------------------------------------- /action/test/specs/misconfiguration.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/misconfiguration.spec.ts -------------------------------------------------------------------------------- /action/test/specs/self.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/self.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-custom-messages.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-custom-messages.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-custom-tags.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-custom-tags.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-custom-username-email.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-custom-username-email.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-existing-branch-custom-rm-globs.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-existing-branch-custom-rm-globs.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-existing-branch-folder-space.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-existing-branch-folder-space.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-existing-branch-squash.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-existing-branch-squash.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-existing-branch.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-existing-branch.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-github.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-github.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-no-branch-custom-pusher.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-no-branch-custom-pusher.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-no-branch-squash.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-no-branch-squash.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-no-branch.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-no-branch.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-skip-empty-commits.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-skip-empty-commits.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-target-dir-exists.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-target-dir-exists.spec.ts -------------------------------------------------------------------------------- /action/test/specs/ssh-target-dir-no-exists.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/specs/ssh-target-dir-no-exists.spec.ts -------------------------------------------------------------------------------- /action/test/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/util.ts -------------------------------------------------------------------------------- /action/test/util/git.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/util/git.ts -------------------------------------------------------------------------------- /action/test/util/io.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/test/util/io.ts -------------------------------------------------------------------------------- /action/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s0/git-publish-subdir-action/HEAD/action/tsconfig.json --------------------------------------------------------------------------------