More debugging lines. #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: DataCore CppImageAnalysis CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build project | |
run: docker build . --file Dockerfile | |
- name: Publish to server via ssh | |
run: | | |
sudo apt-get update -y -qq | |
sudo apt-get install -y -qq sshpass rsync | |
mkdir -p ~/.ssh | |
touch ~/.ssh/known_hosts | |
ssh-keyscan ${{ secrets.CI_HOST }} >> ~/.ssh/known_hosts | |
sshpass -p "${{ secrets.CI_PASS }}" ssh ${{ secrets.CI_USER }}@${{ secrets.CI_HOST }} '~/prod/cpp-image-analysis/publish.sh' |