Adding pics and ci
This commit is contained in:
parent
643deedba9
commit
e1268b2d9c
26
build-and-deploy.yml
Normal file
26
build-and-deploy.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
name: Build and Deploy Resume Site
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
setup-website-content:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: shockrah/hugo
|
||||||
|
steps:
|
||||||
|
- run: git init
|
||||||
|
- run: git remote add origin https://git.shockrah.xyz/shockrah/temper-tv.git
|
||||||
|
- run: git pull origin master
|
||||||
|
- name: Build website content
|
||||||
|
run: cd main-site && hugo
|
||||||
|
- name: Copy files with rsync
|
||||||
|
uses: tempersama/rsync-copy@2.6
|
||||||
|
with:
|
||||||
|
host: shockrah.xyz
|
||||||
|
username: ${{ secrets.USER }}
|
||||||
|
source: "main-site/public/"
|
||||||
|
destination: /opt/nginx/temper.tv.test/
|
||||||
|
key: ${{ secrets.PRIVATE_KEY }}
|
||||||
|
|
BIN
main-site/static/img/26-07-2024/jacket-s1.jpg
(Stored with Git LFS)
Normal file
BIN
main-site/static/img/26-07-2024/jacket-s1.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
main-site/static/img/26-07-2024/qtpi.jpg
(Stored with Git LFS)
Normal file
BIN
main-site/static/img/26-07-2024/qtpi.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
main-site/static/img/26-07-2024/snoiler.jpg
(Stored with Git LFS)
Normal file
BIN
main-site/static/img/26-07-2024/snoiler.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user