Compare commits

...

2 Commits

Author SHA1 Message Date
8864d84d45 Add gitea action
Some checks failed
Deploy Astro / Build and Deploy (push) Failing after 59s
2023-12-13 16:46:44 +01:00
4f561a0abd Minimal bugfix 2023-12-11 23:49:06 +01:00
2 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,29 @@
name: Deploy Astro
on:
push:
branches:
- astro
jobs:
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout code
- name: Setup node and npm
uses: actions/setup-node@v3
with:
node-version: lts
- name: Install dependencies
run: npm ci
- name: Check and build
run: npm run build
- name: Copy files via ssh
uses: https://github.com/appleboy/scp-action@v0.1.4
with:
host: c0ntroller.de
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
source: "dist/*"
target: /var/www/website/astro

View File

@ -37,7 +37,7 @@ const cardStyle = {
{ {
card.skillBars card.skillBars
.sort((bar1, bar2) => bar2.pct - bar1.pct) .sort((bar1, bar2) => bar2.pct - bar1.pct)
.map((skill, i) => ( .map((skill) => (
<div class="skillBar"> <div class="skillBar">
<div class="barName"> <div class="barName">
<Icon name={skill.icon} /> <Icon name={skill.icon} />
@ -57,7 +57,7 @@ const cardStyle = {
{ {
card.additional && card.additional.length > 0 ? ( card.additional && card.additional.length > 0 ? (
<div class="badgeSet"> <div class="badgeSet">
{card.additional?.map((additional, i) => ( {card.additional?.map((additional) => (
<> <>
<div class="badge"> <div class="badge">
<span> <span>