Fixing configs and merge conflicts
All checks were successful
Build and Deploy Resume Site / setup-website-content (push) Successful in 16s
All checks were successful
Build and Deploy Resume Site / setup-website-content (push) Successful in 16s
This commit is contained in:
commit
2638735d9b
26
.gitea/workflows/build-and-deploy.yml
Normal file
26
.gitea/workflows/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 && pwd && ls -a && 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/
|
||||||
|
key: ${{ secrets.PRIVATE_KEY }}
|
||||||
|
|
@ -4,8 +4,6 @@
|
|||||||
{{ if .Params.Description }}
|
{{ if .Params.Description }}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h5>{{ .Params.Description }}</h5>
|
<h5>{{ .Params.Description }}</h5>
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
{{ if .Params.Thumbnail }}
|
{{ if .Params.Thumbnail }}
|
||||||
{{ if .Params.ContentThumbnail }}
|
{{ if .Params.ContentThumbnail }}
|
||||||
<a href="{{ .Params.Thumbnail }}">
|
<a href="{{ .Params.Thumbnail }}">
|
||||||
@ -13,5 +11,7 @@
|
|||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
<div class="container">{{ .Content }}</div>
|
<div class="container">{{ .Content }}</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -171,13 +171,17 @@ a:hover { color: #EAA221; }
|
|||||||
width: 80%;
|
width: 80%;
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
.feed-container .a .card-img {
|
||||||
|
max-width: 60%;
|
||||||
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 3px;
|
border-width: 3px;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
max-width: 75%;
|
max-width: 60%;
|
||||||
min-width: 250px;
|
min-width: 250px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user