Skip to content

fix bot scanning site #35

fix bot scanning site

fix bot scanning site #35

Workflow file for this run

name: Build & Deploy
on:
push:
branches: [simple]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Clone Portfolio to Digital Ocean
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }} # IP address of the server you wish to ssh into
key: ${{ secrets.SSH_KEY}} # Private or public key of the server
username: ${{secrets.SSH_USERNAME}} # User of the server you want to ssh into
script: |
zsh
source /home/${{secrets.SSH_USERNAME}}/.profile
source ~/.nvm/nvm.sh
cd /var/www/html/portfolio
git fetch origin
git reset --hard origin/simple
git pull --force origin simple