Updates deploy script.

This commit is contained in:
Thanwer 2024-10-21 22:48:46 -03:00
parent eaea26d74f
commit 60a4528717
2 changed files with 1 additions and 26 deletions

View File

@ -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

View File

@ -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/