add cicd; fix thumbnail
This commit is contained in:
@@ -0,0 +1,48 @@
|
|||||||
|
name: Build and Deploy Docker
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Log in to GHCR
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.rhost.ovh
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.TOKEN }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./services/Dockerfile
|
||||||
|
push: true
|
||||||
|
tags: git.rhost.ovh/${{ github.repository }}:latest
|
||||||
|
deploy:
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Deploy via SSH
|
||||||
|
uses: appleboy/ssh-action@v1.2.0
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.SERVER_HOST }}
|
||||||
|
port: ${{ secrets.SERVER_PORT }}
|
||||||
|
username: ${{ secrets.SERVER_USER }}
|
||||||
|
key: ${{ secrets.SERVER_SSH_KEY }}
|
||||||
|
script: |
|
||||||
|
cd /home/ryjek/docker/portfolio
|
||||||
|
docker compose pull
|
||||||
|
docker compose up -d
|
||||||
@@ -18,13 +18,13 @@
|
|||||||
</g>
|
</g>
|
||||||
<rect x="112" y="46" width="316" height="12" rx="6" fill="rgba(150,178,209,0.14)"/>
|
<rect x="112" y="46" width="316" height="12" rx="6" fill="rgba(150,178,209,0.14)"/>
|
||||||
<!-- znak / inicjaly -->
|
<!-- znak / inicjaly -->
|
||||||
<rect x="52" y="88" width="86" height="86" rx="20" fill="url(#g)"/>
|
<rect x="66" y="88" width="86" height="86" rx="20" fill="url(#g)"/>
|
||||||
<text x="95" y="143" font-family="'Space Grotesk',system-ui,sans-serif" font-size="28" font-weight="700" fill="#0d1a2b" text-anchor="middle">CRM</text>
|
<text x="109" y="143" font-family="'Space Grotesk',system-ui,sans-serif" font-size="28" font-weight="700" fill="#0d1a2b" text-anchor="middle">CRM</text>
|
||||||
<!-- linie tekstu -->
|
<!-- linie tekstu -->
|
||||||
<rect x="160" y="96" width="200" height="16" rx="8" fill="rgba(234,241,248,0.85)"/>
|
<rect x="174" y="96" width="200" height="16" rx="8" fill="rgba(234,241,248,0.85)"/>
|
||||||
<rect x="160" y="124" width="252" height="10" rx="5" fill="rgba(150,178,209,0.35)"/>
|
<rect x="174" y="124" width="252" height="10" rx="5" fill="rgba(150,178,209,0.35)"/>
|
||||||
<rect x="160" y="142" width="216" height="10" rx="5" fill="rgba(150,178,209,0.28)"/>
|
<rect x="174" y="142" width="216" height="10" rx="5" fill="rgba(150,178,209,0.28)"/>
|
||||||
<rect x="160" y="160" width="150" height="10" rx="5" fill="rgba(150,178,209,0.22)"/>
|
<rect x="174" y="160" width="150" height="10" rx="5" fill="rgba(150,178,209,0.22)"/>
|
||||||
<!-- nazwa -->
|
<!-- nazwa -->
|
||||||
<text x="52" y="216" font-family="'Space Grotesk',system-ui,sans-serif" font-size="20" font-weight="600" fill="#eaf1f8">CRM</text>
|
<text x="66" y="216" font-family="'Space Grotesk',system-ui,sans-serif" font-size="20" font-weight="600" fill="#eaf1f8">CRM</text>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -18,13 +18,13 @@
|
|||||||
</g>
|
</g>
|
||||||
<rect x="112" y="46" width="316" height="12" rx="6" fill="rgba(150,178,209,0.14)"/>
|
<rect x="112" y="46" width="316" height="12" rx="6" fill="rgba(150,178,209,0.14)"/>
|
||||||
<!-- znak / inicjaly -->
|
<!-- znak / inicjaly -->
|
||||||
<rect x="52" y="88" width="86" height="86" rx="20" fill="url(#g)"/>
|
<rect x="66" y="88" width="86" height="86" rx="20" fill="url(#g)"/>
|
||||||
<text x="95" y="143" font-family="'Space Grotesk',system-ui,sans-serif" font-size="30" font-weight="700" fill="#0d1a2b" text-anchor="middle">PIT</text>
|
<text x="109" y="143" font-family="'Space Grotesk',system-ui,sans-serif" font-size="30" font-weight="700" fill="#0d1a2b" text-anchor="middle">PIT</text>
|
||||||
<!-- linie tekstu -->
|
<!-- linie tekstu -->
|
||||||
<rect x="160" y="96" width="200" height="16" rx="8" fill="rgba(234,241,248,0.85)"/>
|
<rect x="174" y="96" width="200" height="16" rx="8" fill="rgba(234,241,248,0.85)"/>
|
||||||
<rect x="160" y="124" width="252" height="10" rx="5" fill="rgba(150,178,209,0.35)"/>
|
<rect x="174" y="124" width="252" height="10" rx="5" fill="rgba(150,178,209,0.35)"/>
|
||||||
<rect x="160" y="142" width="216" height="10" rx="5" fill="rgba(150,178,209,0.28)"/>
|
<rect x="174" y="142" width="216" height="10" rx="5" fill="rgba(150,178,209,0.28)"/>
|
||||||
<rect x="160" y="160" width="150" height="10" rx="5" fill="rgba(150,178,209,0.22)"/>
|
<rect x="174" y="160" width="150" height="10" rx="5" fill="rgba(150,178,209,0.22)"/>
|
||||||
<!-- nazwa -->
|
<!-- nazwa -->
|
||||||
<text x="52" y="216" font-family="'Space Grotesk',system-ui,sans-serif" font-size="20" font-weight="600" fill="#eaf1f8">Rozliczenia PIT</text>
|
<text x="66" y="216" font-family="'Space Grotesk',system-ui,sans-serif" font-size="20" font-weight="600" fill="#eaf1f8">Rozliczenia PIT</text>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -18,13 +18,13 @@
|
|||||||
</g>
|
</g>
|
||||||
<rect x="112" y="46" width="316" height="12" rx="6" fill="rgba(150,178,209,0.14)"/>
|
<rect x="112" y="46" width="316" height="12" rx="6" fill="rgba(150,178,209,0.14)"/>
|
||||||
<!-- znak / inicjaly -->
|
<!-- znak / inicjaly -->
|
||||||
<rect x="52" y="88" width="86" height="86" rx="20" fill="url(#g)"/>
|
<rect x="66" y="88" width="86" height="86" rx="20" fill="url(#g)"/>
|
||||||
<text x="95" y="145" font-family="'Space Grotesk',system-ui,sans-serif" font-size="40" font-weight="700" fill="#0d1a2b" text-anchor="middle">Wz</text>
|
<text x="109" y="145" font-family="'Space Grotesk',system-ui,sans-serif" font-size="40" font-weight="700" fill="#0d1a2b" text-anchor="middle">Wz</text>
|
||||||
<!-- linie tekstu -->
|
<!-- linie tekstu -->
|
||||||
<rect x="160" y="96" width="200" height="16" rx="8" fill="rgba(234,241,248,0.85)"/>
|
<rect x="174" y="96" width="200" height="16" rx="8" fill="rgba(234,241,248,0.85)"/>
|
||||||
<rect x="160" y="124" width="252" height="10" rx="5" fill="rgba(150,178,209,0.35)"/>
|
<rect x="174" y="124" width="252" height="10" rx="5" fill="rgba(150,178,209,0.35)"/>
|
||||||
<rect x="160" y="142" width="216" height="10" rx="5" fill="rgba(150,178,209,0.28)"/>
|
<rect x="174" y="142" width="216" height="10" rx="5" fill="rgba(150,178,209,0.28)"/>
|
||||||
<rect x="160" y="160" width="150" height="10" rx="5" fill="rgba(150,178,209,0.22)"/>
|
<rect x="174" y="160" width="150" height="10" rx="5" fill="rgba(150,178,209,0.22)"/>
|
||||||
<!-- nazwa -->
|
<!-- nazwa -->
|
||||||
<text x="52" y="216" font-family="'Space Grotesk',system-ui,sans-serif" font-size="20" font-weight="600" fill="#eaf1f8">Wizytówka</text>
|
<text x="66" y="216" font-family="'Space Grotesk',system-ui,sans-serif" font-size="20" font-weight="600" fill="#eaf1f8">Wizytówka</text>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Reference in New Issue
Block a user