shockrah
94c8a7d945
Some checks failed
Build and Deploy Resume Site / setup-website-content (push) Failing after 6s
25 lines
603 B
YAML
25 lines
603 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
|
|
- name: Build website content
|
|
run: hugo && pwd && ls -R
|
|
- name: Copy files with rsync
|
|
uses: tempersama/rsync-copy@2.5
|
|
with:
|
|
host: shockrah.xyz
|
|
username: nginx
|
|
source: "public/"
|
|
destination: /opt/nginx/test.shockrah.xyz
|
|
key: ${{ secrets.PRIVATE_KEY }}
|