Skip to content

Update main-dev.yml #68

Update main-dev.yml

Update main-dev.yml #68

Workflow file for this run

Check failure on line 1 in .github/workflows/main-dev.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main-dev.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: build
name: Auto deploy on statics dev
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
# steps:
# - name: Install SSH Key
# uses: shimataro/ssh-key-action@v2
# with:
# key: ${{ secrets.SSH_PRIVATE_KEY }}
# known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
# - name: Adding Known Hosts
# run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
# - name: connect to our canvas node
# run: |
# <<<<<<< dev
# ssh -tt root@134.209.235.90 'cd /var/www/histopia-landing/static/histopia-statics-dev/ && git pull'
# =======
# ssh -tt root@134.209.235.90 'cd /var/www/histopia-landing-dev/static/histopia-statics/ && git pull'
# >>>>>>> main
shell: bash