Compare commits
2 Commits
4671378238
...
8864d84d45
Author | SHA1 | Date | |
---|---|---|---|
8864d84d45 | |||
4f561a0abd |
29
.gitea/workflows/astro.yml
Normal file
29
.gitea/workflows/astro.yml
Normal 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
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user