Compare commits

..

No commits in common. "b227a41a439f10291a676aa2b89cb91caa55da67" and "00eec8be70e057e94f32a4f3c14370988945738b" have entirely different histories.

8 changed files with 41 additions and 69 deletions

View File

@ -6,28 +6,22 @@ on:
- master - master
- dev - dev
env:
ZOLA_VERSION: "0.19.2"
HOST: ${{ secrets.SERVER_IP }}
SSH_USERNAME: ${{ secrets.USERNAME }}
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_KEY }}
jobs: jobs:
build_and_deploy: build_and_deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v2
- name: Set up Zola - name: Set up Zola
run: | uses: taiki-e/install-action@v2
wget https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz with:
tar -xvzf *.tar.gz tool: zola@0.17.2
- name: Build Zola Website - name: Build Zola Website
run: | run: |
./zola build zola build
- name: Set Destination Folder if MASTER - name: Set Destination Folder if MASTER
if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' }}
@ -37,12 +31,14 @@ jobs:
if: ${{ github.ref == 'refs/heads/dev' }} if: ${{ github.ref == 'refs/heads/dev' }}
run: echo "DEST_FOLDER=/srv/www/cz/filiprojek/dev" >> $GITHUB_ENV run: echo "DEST_FOLDER=/srv/www/cz/filiprojek/dev" >> $GITHUB_ENV
- name: Deploy - name: Deploy to server
run: | uses: AEnterprise/rsync-deploy@v1.0.2
apt update -y && apt-get install -y --no-install-recommends rsync env:
eval "$(ssh-agent -s)" DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
ssh-add - <<< "${SSH_PRIVATE_KEY}" ARGS: "-e -c -r --delete"
mkdir -p ~/.ssh/ SERVER_PORT: 22
ssh-keyscan -H ${HOST} >> ~/.ssh/known_hosts FOLDER: "./public/"
rsync -r --delete-after public/* "${SSH_USERNAME}@${HOST}:${{ env.DEST_FOLDER }}" SERVER_IP: ${{ secrets.SERVER_IP }}
USERNAME: ${{ secrets.USERNAME }}
SERVER_DESTINATION: ${{ env.DEST_FOLDER }}

View File

@ -6,22 +6,22 @@ template = "about.html"
## About ## About
I am student of IT at Charles University in Prague (Faculty of Education). I am student of IT at Charles University in Prague (Faculty of Education).
My programming journey began in high school, where I developed a passion for `Linux` and co-founded [Fofrweb](https://fofrweb.com). Together with a classmate, I created web applications using `Node.js` and `Vue.js`, all hosted on my own Linux server. In high school I started programming and got interested in `Linux`. I created several projects with a classmate under [Fofrweb](https://fofrweb.com). Especially web applications written in `Node.js` and `Vue.js`. All projects are hosted on my own Linux server.
As a member of [Microlab](https://microlab.space), the university's hacker space, I engage with fellow tech enthusiasts. Additionally, I contribute to the open-source community as a package maintainer for [Void Linux](https://voidlinux.org). I am member of [Microlab](https://microlab.space) - hacker space at Charles University.
## Work I am also package maintainer for [Void Linux](https://voidlinux.org).
I currently work as a Linux engineer. Most of my work involves Debian based systems - desktops (Raspberry Pi, Intel NUC) and servers.
I also create custom websites from time to time.
## Projects
Most of my projects are hosted on Gitea and GitHub:
- Gitea: [git.filiprojek.cz](https://git.filiprojek.cz/fr)
- GitHub: [github.com/filiprojek](https://github.com/filiprojek)
## Contact ## Contact
- <a href="mailto:&#102;&#105;&#108;&#105;&#112;&#064;&#102;&#105;&#108;&#105;&#112;&#114;&#111;&#106;&#101;&#107;&#046;&#099;&#122;">&#102;&#105;&#108;&#105;&#112;&#064;&#102;&#105;&#108;&#105;&#112;&#114;&#111;&#106;&#101;&#107;&#046;&#099;&#122;</a> - <a href="mailto:&#102;&#105;&#108;&#105;&#112;&#064;&#102;&#105;&#108;&#105;&#112;&#114;&#111;&#106;&#101;&#107;&#046;&#099;&#122;">&#102;&#105;&#108;&#105;&#112;&#064;&#102;&#105;&#108;&#105;&#112;&#114;&#111;&#106;&#101;&#107;&#046;&#099;&#122;</a>
- [@filiprojek](https://t.me/filiprojek) on Telegram - [@filiprojek](https://t.me/filiprojek) on Telegram
- PGP: [0x7E65EA58C6075F09](https://keys.openpgp.org/vks/v1/by-fingerprint/CA3D9BE28315B49164130CD97E65EA58C6075F09) - PGP: [0x7E65EA58C6075F09](https://keys.openpgp.org/vks/v1/by-fingerprint/CA3D9BE28315B49164130CD97E65EA58C6075F09)
## Work
I currently work as a Linux engineer. Most of my work involves Debian based systems - desktops (Raspberry Pi, Intel NUC) and servers. I also manage an instance of GitLab.
## Projects
Most of my projects are hosted on Gitea and GitHub:
- Gitea: [git.filiprojek.cz](https://git.filiprojek.cz/fr)
- GitHub: [github.com/filiprojek](https://github.com/filiprojek)

View File

@ -1,16 +1,20 @@
.about { .about {
h2 { h1 {
margin-top: 1rem; margin-top: 2.5rem;
margin-bottom: .5rem; margin-bottom: 1rem;
} }
h2 {
margin-top: 1.5rem;
margin-bottom: 1rem;
}
h3, h4, h5, h6, p { h3, h4, h5, h6, p {
margin-top: .5rem; margin-top: 1rem;
margin-bottom: .5rem; margin-bottom: 1rem;
} }
p { p {
text-align: justify; text-align: justify;
} }
} }

View File

@ -1,7 +1,7 @@
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 2rem 30%; margin: 2rem 20%;
} }
.content { .content {
@ -18,25 +18,3 @@
margin-bottom: 1rem; margin-bottom: 1rem;
} }
} }
code {
font-size: 1rem;
}
ul {
list-style: none;
padding-left: 0;
li {
position: relative;
padding-left: 1rem;
}
li::before {
content: '';
position: absolute;
left: 0;
color:white;
}
}

View File

@ -4,7 +4,6 @@
overflow-x: auto; overflow-x: auto;
padding: .5rem; padding: .5rem;
margin: .5rem 0; margin: .5rem 0;
border-radius: 5px;
} }
.project-wrapper { .project-wrapper {
@ -32,14 +31,10 @@
} }
} }
.link-back {
margin: 2rem 0;
}
@media (max-width: 768px) { @media (max-width: 768px) {
.project-wrapper { .project-wrapper {
max-width: 100%; max-width: 100%;
padding: 1rem; padding: 10px;
} }
} }

View File

@ -17,7 +17,6 @@
</title> </title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Filip Rojek - Personal website">
<link rel="icon" type="image/x-icon" href="/img/fr.ico"> <link rel="icon" type="image/x-icon" href="/img/fr.ico">
<link rel="stylesheet" href="/general.css"> <link rel="stylesheet" href="/general.css">
<link rel="stylesheet" href="/vars.css"> <link rel="stylesheet" href="/vars.css">

View File

@ -20,7 +20,7 @@
<div> <div>
{{ page.content | safe }} {{ page.content | safe }}
</div> </div>
<a href="/posts" class="link-back">Back to list of posts</a> <a href="/posts">Back to list of posts</a>
</section> </section>
{% endblock content %} {% endblock content %}

View File

@ -20,7 +20,7 @@
<div> <div>
{{ page.content | safe }} {{ page.content | safe }}
</div> </div>
<a href="/projects" class="link-back">Back to list of projects</a> <a href="/projects">Back to list of projects</a>
</section> </section>
{% endblock content %} {% endblock content %}