Compare commits

...

18 Commits

Author SHA1 Message Date
Marc Riera e7e18ae174 Add Forgejo actions
publish / publish (push) Failing after 45s Details
2024-02-17 17:46:58 +01:00
Marc Riera Irigoyen fb4f0e17c4 UTF-8 2020-06-28 21:27:44 +02:00
Marc Riera Irigoyen 271e83b84a Limit CI to master 2020-06-28 20:32:15 +02:00
Marc Riera Irigoyen cae595f6ea Build and deploy in CI 2020-06-28 20:30:12 +02:00
Marc Riera Irigoyen 7dcb63484b Add CI 2020-06-24 17:18:07 +02:00
Marc Riera Irigoyen 01e79c10cc Update to Goldmark 2020-05-31 18:29:23 +02:00
Marc Riera Irigoyen ade1bdd37f Add .gitignore 2020-05-31 17:03:15 +02:00
Marc Riera 65374bb4b4 Add robots.txt 2019-05-15 11:45:07 +02:00
Marc Riera 4d9ffb3d2a Upload Spanish CV 2019-05-10 23:29:06 +00:00
Marc Riera eb5bf57d51 Replace CV_ca.pdf 2019-05-07 21:36:36 +00:00
Marc Riera 379a703422 Replace CV_en.pdf 2019-05-07 21:36:29 +00:00
Marc Riera 71d4a2c831 Replace CV_ca.pdf 2019-05-07 21:33:35 +00:00
Marc Riera 9dc54806fd Replace CV_en.pdf 2019-05-07 21:33:22 +00:00
Marc Riera 56e66708d8 Replace CV_ca.pdf 2019-05-07 21:32:19 +00:00
Marc Riera 1b7d93daab Upload Catalan CV 2019-05-07 18:34:02 +00:00
Marc Riera 2f5fea4a09 Delete .gitkeep 2019-05-07 18:21:45 +00:00
Marc Riera 09f9af0d99 Upload English CV 2019-05-07 18:21:33 +00:00
Marc Riera 072a69c678 Add new directory 2019-05-07 18:19:59 +00:00
11 changed files with 56 additions and 10 deletions

View File

@ -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/

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
public

View File

@ -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

View File

@ -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
&nbsp;
<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/)

View File

@ -0,0 +1 @@
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" height="32" width="32" style="vertical-align:middle">

View File

@ -0,0 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>

2
layouts/robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: /files

BIN
static/files/CV_ca.pdf Normal file

Binary file not shown.

BIN
static/files/CV_en.pdf Normal file

Binary file not shown.

BIN
static/files/CV_es.pdf Normal file

Binary file not shown.

View File

@ -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">