Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 26 additions & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,39 @@ name: Deploy to Production

on:
push:
branches:
branches:
- prod
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: "[⚙️] Checkout"
uses: actions/checkout@v3
- name: '[⚙️] Checkout'
uses: actions/checkout@v3

- name: "[📦] Install dependencies"
run: npm install
- name: '[📦] Install dependencies'
run: npm install

- name: "[🔧] Build"
run: npm run build
- name: '[🔧] Build'
run: npm run build

- name: "[🚀] Deploy to server"
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SUPPORT_INFORMATIQUE_DEPLOYMENT_HOST }}
username: ${{ secrets.SUPPORT_INFORMATIQUE_DEPLOYMENT_USER }}
key: ${{ secrets.SUPPORT_INFORMATIQUE_DEPLOYMENT_SSH_PRIVATE_KEY }}
source: "dist/*"
target: ${{ vars.SUPPORT_INFORMATIQUE_DEPLOYMENT_FOLDER }}
strip_components: 1
- name: '[🚀] Deploy to support-informatique.ch'
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SUPPORT_INFORMATIQUE_DEPLOYMENT_HOST }}
username: ${{ secrets.SUPPORT_INFORMATIQUE_DEPLOYMENT_USER }}
key: ${{ secrets.SUPPORT_INFORMATIQUE_DEPLOYMENT_SSH_PRIVATE_KEY }}
source: 'dist/*'
target: ${{ vars.SUPPORT_INFORMATIQUE_DEPLOYMENT_FOLDER }}
strip_components: 1

- name: '[🚀] Deploy to codevs.ch'
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SUPPORT_INFORMATIQUE_DEPLOYMENT_HOST }}
username: ${{ secrets.SUPPORT_INFORMATIQUE_DEPLOYMENT_USER }}
key: ${{ secrets.SUPPORT_INFORMATIQUE_DEPLOYMENT_SSH_PRIVATE_KEY }}
source: 'dist/*'
target: ${{ vars.CODEVS_DEPLOYMENT_FOLDER }}
strip_components: 1
30 changes: 12 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,50 +15,44 @@
/>
<meta
name="keywords"
content="Support-Informatique, Fribourg, Suisse, développement web, support IT"
content="CODEVS Sàrl, Fribourg, Suisse, développement web, support IT"
/>
<link rel="canonical" href="https://support-informatique.ch" />
<link rel="canonical" href="https://codevs.ch" />

<!-- Open Graph data -->
<meta
property="og:title"
content="Support-Informatique - Développement web & Support IT"
content="CODEVS - Développement web & Support IT"
/>
<meta
property="og:description"
content="Basée dans le canton de Fribourg, nous développons des sites web et nous vous aidons pour vos problèmes informatique. Découvrez notre expertise."
/>
<meta
property="og:image"
content="https://support-informatique.ch/favicon.png"
/>
<meta property="og:url" content="https://support-informatique.ch" />
<meta property="og:image" content="https://codevs.ch/favicon.png" />
<meta property="og:url" content="https://codevs.ch" />
<meta property="og:locale" content="fr_CH" />
<meta property="og:site_name" content="Support-Informatique" />
<meta property="og:site_name" content="CODEVS Sàrl" />

<!-- Twitter Card data -->
<meta name="twitter:card" content="summary" />
<meta
name="twitter:title"
content="Support-Informatique - Développement web & Support IT"
content="CODEVS Sàrl - Développement web & Support IT"
/>
<meta
name="twitter:description"
content="Basée dans le canton de Fribourg, nous développons des sites web et nous vous aidons pour vos problèmes informatique. Découvrez notre expertise."
/>
<meta
name="twitter:image"
content="https://support-informatique.ch/favicon.png"
/>
<meta name="twitter:image" content="https://codevs.ch/favicon.png" />

<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ProfessionalService",
"name": "Support-Informatique",
"url": "https://support-informatique.ch",
"logo": "https://support-informatique.ch/favicon.png",
"name": "CODEVS Sàrl",
"url": "https://codevs.ch",
"logo": "https://codevs.ch/favicon.png",
"description": "Basée dans le canton de Fribourg, nous développons des sites web et nous vous aidons pour vos problèmes informatique. Découvrez notre expertise.",
"address": {
"@type": "PostalAddress",
Expand All @@ -69,7 +63,7 @@
}
</script>

<title>Support-Informatique - Développement web & Support IT</title>
<title>CODEVS Sàrl - Développement web & Support IT</title>
</head>
<body>
<div id="root"></div>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vite-react-starter",
"name": "codevs.ch",
"private": true,
"version": "0.0.0",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Loading