File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,26 @@ jobs:
3030 with :
3131 repository : linode/apl-core
3232 path : apl-core
33- - name : start core
33+ - name : Create Git repo
34+ run : |
35+ readonly env_dir="$HOME/workspace/linode/values-ofld1"
36+ readonly apl_core_test_fixtures="$HOME/apl-core/tests/fixtures"
37+ mkdir -p "$(dirname $env_dir)"
38+ cp -R $apl_core_test_fixtures $env_dir
39+ cd $env_dir
40+ git init
41+ git checkout -b main
42+ git add .
43+ git commit -a -m 'init'
44+ # Mark this repo as bare so the local_env_dir can push to env_dir repo
45+ git config --bool core.bare true
46+ echo "The values bare repo has been successfully set up"
47+ - name : Start core server
3448 run : |
3549 cd apl-core
3650 npm install
3751 npm run server > /dev/null 2>&1 &
38- - name : start api
52+ - name : Start api
3953 run : |
4054 npm install
4155 cp .env.sample .env
You can’t perform that action at this time.
0 commit comments