Skip to content

Commit 0c4e8b1

Browse files
committed
update stride-etl with latest tag
1 parent 8399186 commit 0c4e8b1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
1212
SQLALCHEMY_URL: ${{ secrets.SQLALCHEMY_URL }}
1313
ALLOW_SLOW_TESTS: "yes"
14+
STRIDE_ETL_DEPLOY_KEY: ${{ secrets.STRIDE_ETL_DEPLOY_KEY }}
1415
run: |
1516
curl -s https://raw.githubusercontent.com/OriHoch/uumpa-ci-toolbox/65a0704332e63d51f63981dbb25cd83682dc4078/bin/github_actions_install.sh \
1617
| bash -s 4d163c416a5c7192e4f4dba883bb4c0480eaee8c OriHoch/uumpa-ci-toolbox &&\
@@ -31,5 +32,14 @@ jobs:
3132
echo "${TAG_NAME}" > VERSION.txt &&\
3233
pip install --upgrade build pip twine &&\
3334
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
3545
fi

0 commit comments

Comments
 (0)