resume/.gitea/workflows/build-and-deploy.yml
shockrah 8085658bc5
Some checks failed
Build and Deploy Resume Site / setup-website-content (push) Failing after 2m25s
Download lfs objects
2024-09-28 16:00:24 -07:00

27 lines
654 B
YAML

name: Build and Deploy Resume Site
on:
push:
branches:
- master
jobs:
setup-website-content:
runs-on: ubuntu-latest
container:
image: shockrah/hugo
steps:
- name: Checkout repository resources
uses: actions/checkout@v4
with:
lfs: true
- name: Build website content
run: hugo && pwd && ls -R
- name: Copy files with rsync
uses: tempersama/rsync-copy@2.6
with:
host: shockrah.xyz
username: ${{ secrets.USER }}
source: "public/"
destination: /opt/nginx/resume.shockrah.xyz/
key: ${{ secrets.PRIVATE_KEY }}