Port to Forgejo CI
All checks were successful
Deploy / Deploy Website (push) Successful in 27s

This commit is contained in:
Joshua Goins 2025-04-07 22:02:58 -04:00
parent b83ab258c3
commit 9901e7c2d0

View file

@ -4,7 +4,7 @@ on: [push]
jobs:
deploy:
name: Deploy Website
runs-on: ubuntu-latest
runs-on: docker
steps:
- name: Set up SSH key
run: |
@ -12,12 +12,17 @@ jobs:
echo "${{ secrets.DEPLOY_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
- name: Install packages
run: |
apt-get update
apt-get -y install rsync
- uses: actions/checkout@v4
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
uses: https://github.com/peaceiris/actions-hugo@v3
with:
hugo-version: '0.140.2'
hugo-version: '0.145.0'
extended: true
- name: Build
@ -26,4 +31,4 @@ jobs:
- name: Upload Repository
if: github.ref == 'refs/heads/main'
run: |
rsync -e "ssh -p 38901 -o StrictHostKeyChecking=no" --recursive public/ deploy@ryne.moe:/srv/http/xiv.zone
rsync -e "ssh -p 38901 -o StrictHostKeyChecking=no" --recursive --delete public/ deploy@ryne.moe:/srv/http/xiv.zone