Initial actions

This commit is contained in:
Arne Vlaeminck
2023-07-24 00:14:30 +02:00
parent b566634be9
commit 7b69345e6e
3 changed files with 94 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
# sinia # Sinia
Website for accountant Sinia Website for accountant Sinia

64
index.html Normal file
View File

@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="CptArn Freelance creative thinker with a solution focus. For all projects involving prototyping, coding or automation in a wide array of situations (IT projects, factory/home automation, new products).">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>CptArn</title>
<style>
* {
font-family: 'Inter', sans-serif;
}
.hero-container {
text-align: center;
width: 100%;
}
.hero-image {
width: 50%
}
.footer {
width: 100%;
text-align: center;
margin-top: 6rem;
}
#footer-text {
text-align: center;
}
.contact-details {
width: 100%;
flex: 1 1 0;
align-items: center;
margin-top: 3rem;
}
a {
text-decoration: none;
color: black;
font-weight: bold;
}
.content-wrapper {
width: 50%;
margin: 0 auto;
}
</style>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet" />
</head>
<body>
<div class="footer">
<p id="footer-text">CptArn BV</p>
</div>
</body>
<script>
document.getElementById("footer-text").innerHTML = 'CptArn BV - ' + (new Date()).getFullYear();
</script>
</html>

29
workflows/copy.yaml Normal file
View File

@@ -0,0 +1,29 @@
name: Copy Files to Samba Share
on:
push:
branches:
- main
jobs:
copy_files:
name: Copy Files
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Mount Samba share
uses: iamjameshunt/smb-mount-action@v1
with:
server: 192.168.129.250
username: ${{ secrets.SAMBA_USER }}
password: ${{ secrets.SAMBA_PASSWORD }}
share: arne
mountpoint: /mnt/samba # Mount point on the runner machine
- name: Copy files to Samba
run: |
cp -r ./* /mnt/samba/letsencrypt/config/www/sinia # Customize this line based on the source and destination paths
- name: Unmount Samba share
run: umount /mnt/samba