Merge branch 'main' of https://gitea.angoosh.com/KLMZ/web
All checks were successful
Modelari site build and deploy / Build-site (push) Successful in 19s
All checks were successful
Modelari site build and deploy / Build-site (push) Successful in 19s
This commit is contained in:
38
.gitea/workflows/site.yaml
Normal file
38
.gitea/workflows/site.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
name: Modelari site build and deploy
|
||||
run-name: ${{ gitea.actor }}
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Build-site:
|
||||
runs-on: ubuntu-latest-ubuntu
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Copy html files to server
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
host: ${{ secrets.WALTER }}
|
||||
username: ${{ secrets.WALTER_USERNAME }}
|
||||
key: ${{ secrets.WALTER_SSH_KEY }}
|
||||
port: 22
|
||||
source: "*.html"
|
||||
target: "/opt/infra/modelari/web/site/"
|
||||
- name: Copy image files to server
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
host: ${{ secrets.WALTER }}
|
||||
username: ${{ secrets.WALTER_USERNAME }}
|
||||
key: ${{ secrets.WALTER_SSH_KEY }}
|
||||
port: 22
|
||||
source: "img/*"
|
||||
target: "/opt/infra/modelari/web/site/"
|
||||
- name: Copy css files to server
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
host: ${{ secrets.WALTER }}
|
||||
username: ${{ secrets.WALTER_USERNAME }}
|
||||
key: ${{ secrets.WALTER_SSH_KEY }}
|
||||
port: 22
|
||||
source: "*.css"
|
||||
target: "/opt/infra/modelari/web/site/"
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
||||
@@ -14,7 +14,7 @@
|
||||
<aside>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="home.html">Domů</a></li>
|
||||
<li><a href="index.html">Domů</a></li>
|
||||
<!-- <li><a href="application.html">Application</a></li> -->
|
||||
<li><a href="contacts.html">Kontakty</a></li>
|
||||
<li><a href="https://animo.zamberk.cz"><img src="img/animo.png" alt="Animo logo" style="max-width:100%;"></a></li>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<aside>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="home.html">Domů</a></li>
|
||||
<li><a href="index.html">Domů</a></li>
|
||||
<!-- <li><a href="application.html">Registrace</a></li> -->
|
||||
<li><a href="contacts.html">Kontakty</a></li>
|
||||
<li><a href="https://animo.zamberk.cz"><img src="img/animo.png" alt="Animo logo" style="max-width:100%;"></a></li>
|
||||
Reference in New Issue
Block a user