diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 1f122ad..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Build and Deploy - -on: - push: - branches: - - master - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - name: Checkout master - uses: actions/checkout@v2 - with: - submodules: recursive - - - name: Hugo Deploy GitHub Pages - uses: benmatselby/hugo-deploy-gh-pages@master - env: - HUGO_VERSION: 0.75.1 - TARGET_REPO: thanwer/thanwer.github.io - TOKEN: ${{ secrets.DEPLOY_TOKEN }} - CNAME: www.thanwer.com \ No newline at end of file diff --git a/deploy.sh b/deploy.sh index 2d8b43e..b76eb45 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -hugo && /usr/bin/rsync -av --delete public/ root@vega:/var/www/www.thanwer.com/ +hugo && rsync -avz --delete public/ shinobi.thanwer.com:/srv/www/www/ \ No newline at end of file