Compare commits
18 Commits
Author | SHA1 | Date |
---|---|---|
Marc Riera | e7e18ae174 | |
Marc Riera Irigoyen | fb4f0e17c4 | |
Marc Riera Irigoyen | 271e83b84a | |
Marc Riera Irigoyen | cae595f6ea | |
Marc Riera Irigoyen | 7dcb63484b | |
Marc Riera Irigoyen | 01e79c10cc | |
Marc Riera Irigoyen | ade1bdd37f | |
Marc Riera | 65374bb4b4 | |
Marc Riera | 4d9ffb3d2a | |
Marc Riera | eb5bf57d51 | |
Marc Riera | 379a703422 | |
Marc Riera | 71d4a2c831 | |
Marc Riera | 9dc54806fd | |
Marc Riera | 56e66708d8 | |
Marc Riera | 1b7d93daab | |
Marc Riera | 2f5fea4a09 | |
Marc Riera | 09f9af0d99 | |
Marc Riera | 072a69c678 |
|
@ -0,0 +1,36 @@
|
|||
name: publish
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.PUBLISHER_PRIVATE_KEY }}
|
||||
SSH_HOST: ${{ secrets.PUBLISHER_HOST }}
|
||||
SSH_PORT: ${{ secrets.PUBLISHER_PORT }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0 # all history for all branches and tags\
|
||||
|
||||
- name: Install Hugo
|
||||
run: |
|
||||
apt update && apt install -y hugo
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
hugo --minify
|
||||
|
||||
- name: Deploy
|
||||
run: |
|
||||
eval $(ssh-agent -s)
|
||||
echo "$SSH_PRIVATE_KEY" | ssh-add -
|
||||
apt update && apt install -y rsync
|
||||
mkdir ~/.ssh
|
||||
ssh-keyscan -p $SSH_PORT $SSH_HOST > ~/.ssh/known_hosts
|
||||
rsync -atv --progress --delete -e "ssh -p $SSH_PORT" ./public/ publisher@$SSH_HOST:/usr/share/nginx/html/
|
|
@ -0,0 +1 @@
|
|||
public
|
|
@ -3,6 +3,8 @@ title = "Marc Riera Irigoyen"
|
|||
theme = "marcriera"
|
||||
DefaultContentLanguage = "ca"
|
||||
removePathAccents = true
|
||||
enableRobotsTXT = true
|
||||
disableKinds = ["taxonomy", "taxonomyTerm"]
|
||||
|
||||
[params]
|
||||
name = "Marc Riera Irigoyen"
|
||||
|
@ -10,3 +12,8 @@ removePathAccents = true
|
|||
logoimage = "images/logo.png"
|
||||
description = "Translator and localizer"
|
||||
description2 = "EN,RO > CA,ES"
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
|
|
@ -1,19 +1,14 @@
|
|||
---
|
||||
---
|
||||
<center>
|
||||
|
||||
**Contact:**
|
||||
|
||||
<img src="/images/icon-mail.png" alt="E-mail:" height="32" width="32" style="vertical-align:middle"> <a href="mailto:contacte@mrtraduccions.cat"target="_blank">contacte@mrtraduccions.cat</a>
|
||||
![E-mail](/images/icon-mail.png) [contacte@mrtraduccions.cat](mailto:contacte@mrtraduccions.cat)
|
||||
|
||||
<img src="/images/icon-phone.png" alt="Phone:" height="32" width="32" style="vertical-align:middle"> (+34) 652 492 008
|
||||
![Phone:](/images/icon-phone.png) (+34) 652 492 008
|
||||
|
||||
|
||||
|
||||
<a href="/images/rutes/l3/1.png" target="_blank"></a>
|
||||
![Twitter:](/images/icon-twitter.png) [@marcrierai](https://www.twitter.com/marcrierai)
|
||||
|
||||
<img src="/images/icon-twitter.png" alt="Twitter:" height="32" width="32" style="vertical-align:middle"> <a href="https://www.twitter.com/marcrierai"target="_blank">@marcrierai</a>
|
||||
|
||||
<img src="/images/icon-linkedin.png" alt="LinkedIn:" height="32" width="32" style="vertical-align:middle"> <a href="https://www.linkedin.com/in/marc-riera-irigoyen/"target="_blank">Marc Riera Irigoyen</a>
|
||||
|
||||
</center>
|
||||
![LinkedIn:](/images/icon-linkedin.png) [Marc Riera Irigoyen](https://www.linkedin.com/in/marc-riera-irigoyen/)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" height="32" width="32" style="vertical-align:middle">
|
|
@ -0,0 +1 @@
|
|||
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
|
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /files
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,10 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ .Site.Title }} - {{ .Site.Params.Description }}</title>
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/theme.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=3.0">
|
||||
{{ .Hugo.Generator }}
|
||||
{{ hugo.Generator }}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
@ -28,7 +29,9 @@
|
|||
|
||||
|
||||
<div id="content">
|
||||
<center>
|
||||
{{ .Content }}
|
||||
</center>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
|
|
Loading…
Reference in New Issue