From 60a452871748cc8e53b815d3466d21d801009826 Mon Sep 17 00:00:00 2001 From: Thanwer Date: Mon, 21 Oct 2024 22:48:46 -0300 Subject: [PATCH] Updates deploy script. --- .github/workflows/deploy.yml | 25 ------------------------- deploy.sh | 2 +- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 .github/workflows/deploy.yml 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