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

Deploy test workflow cannot be run from a feature branch #42

Open
mslw opened this issue Mar 7, 2024 · 1 comment
Open

Deploy test workflow cannot be run from a feature branch #42

mslw opened this issue Mar 7, 2024 · 1 comment

Comments

@mslw
Copy link
Collaborator

mslw commented Mar 7, 2024

The deploy test workflow can be triggered manually, and a branch can be chosen. However, when I tried to run from locale branch, I got:

Run cd sfb1451_data_entry
+ destination_root=www
+ local_part=z03-db
+ create_switch_page=
+ '[' Xz03-db '!=' X ']'
+ destination_dir=www/z03-db
+ create_switch_page=1
+ suffix=
+ dont_push=
+ '[' 1 -gt 0 ']'
+ '[' test == test ']'
+ suffix=-test
+ '[' test == --dont-push ']'
+ shift
+ '[' 0 -gt 0 ']'
+ git checkout deploy
Switched to a new branch 'deploy'
branch 'deploy' set up to track 'origin/deploy'.
+ git pull
Already up to date.
+ master_version_file=master-version-test
+ touch master-version-test
++ git rev-parse master
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
+ new_master=master

https://github.com/psychoinformatics-de/sfb1451_data_entry/actions/runs/8194423195

@mslw
Copy link
Collaborator Author

mslw commented Mar 8, 2024

As a side note, the test workflow modifies the index-test file, while all the rest (incl. updating the wsgi script) is shared between test and non-test. Hence, it is mainly for testing the workings of the html+js form.

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