ajout drone.yml

merge
Grégory Lebreton 9 months ago
parent a32a90e125
commit 2d837e4ba7

@ -0,0 +1,71 @@
kind: pipeline
name: hugo build and deploy
type: docker
platform:
os: linux
arch: amd64
trigger:
branch:
- main
steps:
# GIT PULL
- name: git pull submodules
image: alpine/git
settings:
user:
from_secret: GIT_USER
password:
from_secret: GIT_PASSWORD
commands:
- git submodule update --init --recursive
# BUILD
- name: build
# ARM version of mkDocs
# image: ghcr.io/afritzler/mkdocs-material:8.1.0
image: mkdocs-material:1.0
pull: if-not-exists
volumes:
- name: site
path: /drone/src/docs
commands:
- cd doc && pip install -r requirements.txt && mkdocs build
# PUSH FILES TO SERVER
- name: deploy files on server
image: greglebreton/drone-rsync:aarch64
settings:
hosts: ["92.243.16.7"]
target: /workspace/terminal-cv/site/resources/resume.pdf
source: ./out.pdf
port:
from_secret: RSYNC_SSH_PORT
user:
from_secret: RSYNC_USER
key:
from_secret: RSYNC_HOST_KEY
# TO CONFIG AND TEST - SEND MAIL NOTIF
- name: notify
image: drillster/drone-email
settings:
from.address: drone@legaragenumerique.fr
host: mail.gandi.net
port: 465
# skip_verify: true
debug: true
username: drone@legaragenumerique.fr
password:
from_secret: MAIL_PASSWORD
recipients: [ greg@legaragenumerique.fr ]
subject: >
[{{ build.status }}]
{{ repo.owner }}/{{ repo.name }}
({{ build.branch }} - {{ truncate build.commit 8 }})
attachment: build-result.xml
body:
https://git.io/vgvPz
when:
status: [ success, failure ]

@ -0,0 +1,314 @@
.
├── admin
│   ├── cadrage-asp
│   │   ├── img
│   │   │   ├── cadrage-asp-accueil-odoo.png
│   │   │   ├── cadrage-asp-accueil-sylae.png
│   │   │   ├── cadrage-asp-add-attachment-odoo.png
│   │   │   ├── cadrage-asp-avis-sylae.png
│   │   │   ├── cadrage-asp-comparaison-montant.png
│   │   │   ├── cadrage-asp-groupe-journal-odoo.png
│   │   │   ├── cadrage-asp-keyword-search-odoo.png
│   │   │   ├── cadrage-asp-liste-odoo-sylae.png
│   │   │   ├── cadrage-asp-login-sylae.png
│   │   │   ├── cadrage-asp-menu-compta-odoo.png
│   │   │   └── cadrage-asp-tableau-synthese-nextcloud.png
│   │   └── index.md
│   ├── compta
│   │   ├── index.md
│   │   └── regular_invoices.md
│   ├── index.md
│   ├── process-odoo
│   │   ├── index.md
│   │   ├── install-odoo.md
│   │   ├── odoo16-rapprochement-bancaire_dashboard-button.png
│   │   ├── odoo16-rapprochement-bancaire.md
│   │   ├── odoo16-rapprochement-bancaire_select-matching-line.png
│   │   ├── odoo16-rapprochement-bancaire_select-statement-line.png
│   │   ├── odoo_access_menu_assets.png
│   │   ├── odoo_assets_create_journal.png
│   │   ├── odoo_create_asset_button.png
│   │   ├── odoo-cutoff.md
│   │   ├── odoo-expense-create.png
│   │   ├── odoo-facture-addpayment.png
│   │   ├── odoo-facture-ajouter-article.png
│   │   ├── odoo-facture-attachment.png
│   │   ├── odoo-facture-bouton-creer.png
│   │   ├── odoo-facture-confirm.png
│   │   ├── odoo-facture-initialiser.png
│   │   ├── odoo-facture.md
│   │   ├── odoo-facture-menu.png
│   │   ├── odoo-facture-payment-details.png
│   │   ├── odoo-facture-sauvegarder.png
│   │   ├── odoo-immo.md
│   │   ├── odoo-note-de-frais.md
│   │   ├── odoo-paye.md
│   │   ├── odoo-rapprochement.md
│   │   ├── odoo-rapprochement-pdftables-exporter.png
│   │   ├── odoo-rapprochement-pdftables-importer.png
│   │   ├── odoo-recrutement.md
│   │   ├── odoo-setup-analytic.png
│   │   ├── odoo-setup-apps-vente-facturation.png
│   │   ├── odoo-setup-community-shop.png
│   │   ├── odoo-setup-create-employee-address.png
│   │   ├── odoo-setup.md
│   │   ├── odoo-setup-open-view.png
│   │   ├── odoo-setup-pcgfr.png
│   │   ├── odoo-setup-position-fiscale.png
│   │   ├── odoo-setup-webshop-install-accounting-module.png
│   │   ├── odoo-setup-webshop.png
│   │   └── odoo-subventions.md
│   ├── rh
│   │   ├── arret-travail.md
│   │   ├── bordereau-uniformation.md
│   │   ├── creation-employe.md
│   │   ├── index.md
│   │   ├── odoo-employee-address-form.png
│   │   ├── odoo-employee-button-create.png
│   │   ├── odoo-employee-contract-form.png
│   │   ├── odoo-employee-create-contract-button.png
│   │   ├── odoo-employee-edit.png
│   │   ├── odoo-employee-list-of-contracts.png
│   │   ├── odoo-employee-menu.png
│   │   ├── odoo-employee-modify-address.png
│   │   ├── odoo-employee-saisie1.png
│   │   └── remplissage_bordereau_uniformation.png
│   └── windows
│   ├── index.md
│   ├── office-1.png
│   └── office-2.png
├── assets
│   ├── git
│   │   ├── git-branch.png
│   │   └── git.png
│   ├── js
│   │   └── config.js
│   ├── logo-garage-petit.png
│   └── logo-web-garage_numerique.png
├── cours
│   ├── index.md
│   ├── lua
│   │   ├── index.md
│   │   └── minetest-modding.md
│   ├── network
│   │   ├── configure.md
│   │   └── index.md
│   ├── outils-garage
│   │   ├── clipperz.md
│   │   ├── devenv
│   │   │   └── index.md
│   │   ├── element.md
│   │   ├── framaboard.md
│   │   ├── gitlab.md
│   │   ├── img
│   │   │   ├── element-confirm-keys-creation.png
│   │   │   ├── element-connection-mode.png
│   │   │   ├── element-final-secure-ok.png
│   │   │   ├── element-keys-creation-form.png
│   │   │   ├── element-login-keycloak.png
│   │   │   ├── element-main-menu-arrow.png
│   │   │   ├── element-play-store.png
│   │   │   ├── element-save-restore-key.png
│   │   │   ├── element-secure-tool.png
│   │   │   ├── element-security-arrow.png
│   │   │   ├── element-settings-arrow.png
│   │   │   ├── element-sso-auth.png
│   │   │   ├── element-sso-trust-url.png
│   │   │   └── element-welcome-page.png
│   │   ├── index.md
│   │   ├── keycloack.md
│   │   ├── mattermost.md
│   │   └── nextcloud.md
│   ├── python
│   │   ├── 1stproject.md
│   │   ├── img
│   │   │   └── creating-merge-request.png
│   │   ├── index.md
│   │   ├── os-script.md
│   │   ├── rest.md
│   │   └── workspace.md
│   ├── scripting
│   │   ├── diag-script.md
│   │   ├── git.md
│   │   ├── semver.md
│   │   └── syntax.md
│   ├── servers
│   │   ├── apache
│   │   ├── glpi
│   │   ├── index
│   │   ├── lamp
│   │   ├── nginx
│   │   ├── smb
│   │   ├── ssh
│   │   └── wordpress
│   ├── use-linux
│   │   ├── cmd.md
│   │   ├── index.md
│   │   └── system.md
│   └── work-garage
│   ├── accueil.md
│   ├── backup.md
│   └── diagnostic.md
├── divers
│   ├── admin
│   │   ├── acroread-debian.md
│   │   ├── arch-install.md
│   │   ├── autoupdate.md
│   │   ├── fusion
│   │   │   ├── index.md
│   │   │   └── install-fusion-agent.md
│   │   ├── gnome-appfolders.md
│   │   ├── img
│   │   │   └── gnome-appfolders.png
│   │   ├── index.md
│   │   ├── kodi.md
│   │   ├── lug9000.md
│   │   └── reset-winpasswd.md
│   ├── cmd
│   │   ├── backup.md
│   │   ├── bash-lists.md
│   │   ├── heredoc.md
│   │   ├── index.md
│   │   ├── mount.md
│   │   ├── nmcli.md
│   │   ├── read.md
│   │   └── screen.md
│   ├── dev
│   │   ├── create-minetest-mod.md
│   │   ├── index.md
│   │   └── unity_codium.md
│   ├── devops
│   │   ├── dokku.md
│   │   ├── git-api.md
│   │   ├── gitpod.md
│   │   ├── hugo
│   │   │   ├── add_list.md
│   │   │   ├── add_menu.md
│   │   │   ├── add_sections.md
│   │   │   ├── create_website.md
│   │   │   ├── deploy_website.md
│   │   │   ├── dokku_workflow.md
│   │   │   ├── hugo_from_scratch.md
│   │   │   ├── hugo_from_templates.md
│   │   │   ├── img
│   │   │   │   ├── blank-project.png
│   │   │   │   ├── choose-hugo-template.png
│   │   │   │   ├── gitlab-commit-gitlab-ci.png
│   │   │   │   ├── gitlab-new-file.png
│   │   │   │   ├── gitlab-new-project.png
│   │   │   │   ├── gitlab-project-cli.png
│   │   │   │   ├── gitlab-project-desc.png
│   │   │   │   └── new-project.png
│   │   │   ├── index.md
│   │   │   └── install_hugo.md
│   │   ├── img
│   │   │   ├── activate-gitpod-in-gitlab.png
│   │   │   ├── authorize-gitpod.png
│   │   │   ├── create-gitpod-account.png
│   │   │   ├── dokku-setup.png
│   │   │   ├── gitlab-user-settings.png
│   │   │   ├── gitpod-logo.png
│   │   │   ├── gitpod-workspace.png
│   │   │   ├── gitpod-workspaces.png
│   │   │   ├── run-gitpod-from-gitlab.png
│   │   │   └── wait-gitpod-workspace.png
│   │   ├── index.md
│   │   ├── odoo
│   │   │   ├── devenv.md
│   │   │   ├── devmodule.md
│   │   │   ├── img
│   │   │   │   └── odoo-dbconfig.png
│   │   │   └── index.md
│   │   └── sso
│   │   ├── img
│   │   │   ├── basic-settings-user-federation.png
│   │   │   ├── create-user-federation.png
│   │   │   ├── group-mapper-settings-user-federation.png
│   │   │   ├── keycloak-nextcloud
│   │   │   │   ├── keycloak_client-evaluaterolemapping.png
│   │   │   │   ├── keycloak_client-getcredentials.png
│   │   │   │   ├── keycloak_client-newrole.png
│   │   │   │   ├── keycloak_client-openidfineconfig.png
│   │   │   │   ├── keycloak_client-openidmapperquota.png
│   │   │   │   ├── keycloak_client-openidmapperroles.png
│   │   │   │   ├── keycloak_client-settings.png
│   │   │   │   ├── keycloak_create-client.png
│   │   │   │   ├── keycloak_realm-accessconf.png
│   │   │   │   ├── keycloak_realm-json.png
│   │   │   │   ├── keycloak_user-openidattributequota.png
│   │   │   │   └── keycloak_user-rolemapping.png
│   │   │   ├── sso-keycloak-askpwdreset.png
│   │   │   └── sso-keycloak-enable-terms.png
│   │   ├── index.md
│   │   ├── sso-keycloak.md
│   │   ├── sso-ldap.md
│   │   ├── sso-mattermost.md
│   │   ├── sso-nextcloud.md
│   │   └── sso-wordpress.md
│   ├── form.php
│   ├── git
│   │   ├── git-branch.png
│   │   └── git.md
│   ├── index.md
│   ├── internal
│   │   ├── img
│   │   │   ├── blocs.png
│   │   │   ├── cluf-brother.png
│   │   │   ├── layers.png
│   │   │   ├── LICENSE.assets
│   │   │   ├── LICENSE.code
│   │   │   ├── LICENSE.map
│   │   │   ├── map.png
│   │   │   ├── mkdocs_image-left.png
│   │   │   ├── props.png
│   │   │   └── tileset.png
│   │   ├── index.md
│   │   ├── install-printers.md
│   │   ├── mkdocs.md
│   │   └── wa.md
│   ├── process-nwipe
│   │   ├── nwipe1.png
│   │   ├── nwipe2.png
│   │   ├── nwipe3.png
│   │   ├── nwipe4.png
│   │   └── nwipe.md
│   └── server
│   ├── calculer-adresses-reseau.md
│   ├── img
│   │   ├── pxe-select-lan.png
│   │   ├── pxe-select-wan.png
│   │   ├── welcome_to_nginx.png
│   │   ├── ws1.png
│   │   ├── ws2.png
│   │   ├── ws3.png
│   │   ├── ws4.png
│   │   └── ws-logo.svg
│   ├── index.md
│   ├── install_pxe.md
│   ├── mysql.md
│   ├── nextcloud_docker-compose_on_debian-10_with_nginx_reverse-proxy.md
│   ├── postgres.md
│   ├── serveur_debian_smb_ssh.md
│   ├── ssh.md
│   ├── wireshark.md
│   └── wordpress_docker-compose_on_debian-10_with_nginx_reverse-proxy.md
├── index.md
├── presentation-garage
│   ├── equipe.md
│   ├── formation
│   │   ├── bacplusun-devops.md
│   │   ├── bacplusun-devops.pdf
│   │   ├── index.md
│   │   └── pnpro-devops.md
│   ├── histoire.md
│   ├── index.md
│   ├── procedures.md
│   ├── projets.md
│   ├── reglement_interieur_CHANGELOG.md
│   ├── reglement_interieur.md
│   ├── ressources
│   │   └── sites-web.md
│   └── statut.md
└── raw_test.md
47 directories, 265 files
Loading…
Cancel
Save