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

Deploying a branch while on another one #700

Open
jean-gui opened this issue Dec 19, 2024 · 0 comments
Open

Deploying a branch while on another one #700

jean-gui opened this issue Dec 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working design system

Comments

@jean-gui
Copy link

Running the command LANG=C vendor/bin/dep deploy staging --branch=xxx while the local repository is on another branch doesn't seem to work and outputs this error:

task deploy:local_build
[staging] Removed previous build
[staging] Cloning repository (Branch: HEAD)
[staging]  error  in static.php on line 82:
[staging] run /usr/bin/git archive feature/update-logo | tar -x -f - -C /home/jean-gui/.deployer/w3c-website-templates-bundle 2>&1
[staging] err fatal: not a valid object name: feature/update-logo
[staging] tar: This does not look like a tar archive
[staging] tar: Exiting with failure status due to previous errors
[staging] exit code 2 (Misuse of shell builtins)
ERROR: Task deploy:local_build failed!
task deploy:failed

Switching the local branch to xxx before running the command does work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working design system
Projects
Status: No status
Development

No branches or pull requests

2 participants