File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 11
11
TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
12
12
SQLALCHEMY_URL : ${{ secrets.SQLALCHEMY_URL }}
13
13
ALLOW_SLOW_TESTS : " yes"
14
+ STRIDE_ETL_DEPLOY_KEY : ${{ secrets.STRIDE_ETL_DEPLOY_KEY }}
14
15
run : |
15
16
curl -s https://raw.githubusercontent.com/OriHoch/uumpa-ci-toolbox/65a0704332e63d51f63981dbb25cd83682dc4078/bin/github_actions_install.sh \
16
17
| bash -s 4d163c416a5c7192e4f4dba883bb4c0480eaee8c OriHoch/uumpa-ci-toolbox &&\
31
32
echo "${TAG_NAME}" > VERSION.txt &&\
32
33
pip install --upgrade build pip twine &&\
33
34
python3 -m build &&\
34
- python3 -m twine upload "dist/open-bus-stride-client-${TAG_NAME}.tar.gz"
35
+ python3 -m twine upload "dist/open-bus-stride-client-${TAG_NAME}.tar.gz" &&\
36
+ echo "${STRIDE_ETL_DEPLOY_KEY}" > stride_etl_deploy_key &&\
37
+ chmod 400 stride_etl_deploy_key &&\
38
+ export GIT_SSH_COMMAND="ssh -i `pwd`/stride_etl_deploy_key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" &&\
39
+ git clone [email protected] :hasadna/open-bus-stride-etl.git &&\
40
+ cd open-bus-stride-etl &&\
41
+ echo "${TAG_NAME}" > stride-client-latest-tag.txt &&\
42
+ git add stride-client-latest-tag.txt &&\
43
+ git commit -m "automatic update of open bus stride client dependencies" &&\
44
+ git push origin main
35
45
fi
You can’t perform that action at this time.
0 commit comments