<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://cecil.app/fr/xsl/atom.xsl" media="all"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
  <id>https://cecil.app/fr/documentation/deployer/</id>
  <title>Cecil - Déployer</title>
  <subtitle><![CDATA[Cecil est une application PHP en ligne de commande qui fusionne des pages Markdown, des médias et des templates Twig afin de générer un site Web statique.]]></subtitle>
  <link href="https://cecil.app/fr/documentation/deployer/atom.xml" rel="self" type="application/atom+xml" />
  <link href="https://cecil.app/fr/documentation/deployer/" rel="alternate" type="text/html" />
  <updated>2026-10-07T22:48:52+00:00</updated>
  <author>
    <name>Cecil</name>
    <uri>https://cecil.app</uri>
  </author>
  <entry xml:lang="fr">
    <id>https://cecil.app/fr/documentation/deployer/plateformes-jamstack/</id>
    <title>Plateformes Jamstack</title>
    <published>2026-03-27T00:00:00+00:00</published>
    <updated>2026-10-02T00:00:00+00:00</updated>
    <link href="https://cecil.app/fr/documentation/deployer/plateformes-jamstack/" rel="alternate" type="text/html" />
    <content type="html">
      <![CDATA[<h1>Plateformes Jamstack</h1>
<h2 id="netlify">Netlify</h2>
<blockquote>
<p>Une puissante plateforme serverless avec un flux de travail intuitif basé sur Git. Déploiements automatisés, aperçus partageables, et bien plus encore.</p>
</blockquote>
<p>➡️ <a href="https://www.netlify.com" target="_blank" rel="noopener noreferrer">https://www.netlify.com</a></p>
<p><em>netlify.toml</em>:</p>
<pre><code class="language-bash hljs bash" translate="no">[build]
  publish = <span class="hljs-string">"_site"</span>
  <span class="hljs-built_in">command</span> = <span class="hljs-string">"curl -sSOL https://cecil.app/build.sh &amp;&amp; bash ./build.sh"</span>
[context.production.environment]
  CECIL_ENV = <span class="hljs-string">"production"</span>
[context.deploy-preview.environment]
  CECIL_ENV = <span class="hljs-string">"preview"</span></code></pre>
<p><a href="https://www.netlify.com/docs/continuous-deployment/" target="_blank" rel="noopener noreferrer">Documentation officielle</a></p>
<h2 id="vercel">Vercel</h2>
<blockquote>
<p>Vercel associe une excellente expérience développeur à une attention obsessionnelle portée aux performances côté utilisateur final.</p>
</blockquote>
<p>➡️ <a href="https://vercel.com" target="_blank" rel="noopener noreferrer">https://vercel.com</a></p>
<p><em>vercel.json</em>:</p>
<pre><code class="language-json hljs json" translate="no">{
  <span class="hljs-attr">"buildCommand"</span>: <span class="hljs-string">"curl -sSOL https://cecil.app/build.sh &amp;&amp; bash ./build.sh"</span>,
  <span class="hljs-attr">"outputDirectory"</span>: <span class="hljs-string">"_site"</span>
}</code></pre>
<p><a href="https://vercel.com/docs/concepts/deployments/build-step#build-command" target="_blank" rel="noopener noreferrer">Documentation officielle</a></p>
<h2 id="statichost">statichost</h2>
<blockquote>
<p>Hébergement moderne de sites statiques avec des serveurs européens et absolument aucune collecte de données personnelles !</p>
</blockquote>
<p>➡️ <a href="https://statichost.eu" target="_blank" rel="noopener noreferrer">https://statichost.eu</a></p>
<p><em>statichost.yml</em>:</p>
<pre><code class="language-yml hljs yaml" translate="no"><span class="hljs-attr">image:</span> <span class="hljs-string">wordpress:cli-php8.4</span>
<span class="hljs-attr">command:</span> <span class="hljs-string">curl</span> <span class="hljs-string">-sSOL</span> <span class="hljs-string">https://cecil.app/build.sh</span> <span class="hljs-string">&amp;&amp;</span> <span class="hljs-string">bash</span> <span class="hljs-string">./build.sh</span>
<span class="hljs-attr">public:</span> <span class="hljs-string">_site</span></code></pre>
<p><a href="https://www.statichost.eu/docs/" target="_blank" rel="noopener noreferrer">Documentation officielle</a></p>
<h2 id="cloudflare-pages">Cloudflare Pages</h2>
<aside class="note note-caution"><p>Cloudflare Pages ne prend plus en charge PHP.</p></aside>
<blockquote>
<p>Cloudflare Pages est une plateforme JAMstack qui permet aux développeurs frontend de collaborer et de déployer des sites web.</p>
</blockquote>
<p>➡️ <a href="https://pages.cloudflare.com" target="_blank" rel="noopener noreferrer">https://pages.cloudflare.com</a></p>
<p>Configurations de build :</p>
<ul>
<li>Préréglage de framework : <code translate="no">None</code></li>
<li>Commande de build : <code translate="no">curl -sSOL https://cecil.app/build.sh &amp;&amp; bash ./build.sh</code></li>
<li>Répertoire de sortie du build : <code translate="no">_site</code></li>
</ul>
<p><a href="https://developers.cloudflare.com/pages/" target="_blank" rel="noopener noreferrer">Documentation officielle</a></p>
<h2 id="render">Render</h2>
<aside class="note note-caution"><p>Render ne prend plus en charge PHP.</p></aside>
<blockquote>
<p>Render est un cloud unifié pour créer et exécuter toutes vos applications et tous vos sites web, avec certificats TLS gratuits, CDN global, réseaux privés et déploiements automatiques depuis Git.</p>
</blockquote>
<p>➡️ <a href="https://render.com" target="_blank" rel="noopener noreferrer">https://render.com</a></p>
<p><em>render.yaml</em>:</p>
<pre><code class="language-yml hljs yaml" translate="no"><span class="hljs-attr">previewsEnabled:</span> <span class="hljs-literal">true</span>
<span class="hljs-attr">services:</span>
  <span class="hljs-bullet">-</span> <span class="hljs-attr">type:</span> <span class="hljs-string">web</span>
    <span class="hljs-attr">name:</span> <span class="hljs-string">Cecil</span>
    <span class="hljs-attr">env:</span> <span class="hljs-string">static</span>
    <span class="hljs-attr">buildCommand:</span> <span class="hljs-string">curl</span> <span class="hljs-string">-sSOL</span> <span class="hljs-string">https://cecil.app/build.sh</span> <span class="hljs-string">&amp;&amp;</span> <span class="hljs-string">bash</span> <span class="hljs-string">./build.sh</span>
    <span class="hljs-attr">staticPublishPath:</span> <span class="hljs-string">_site</span>
    <span class="hljs-attr">pullRequestPreviewsEnabled:</span> <span class="hljs-literal">true</span></code></pre>
<p><a href="https://render.com/docs/static-sites" target="_blank" rel="noopener noreferrer">Documentation officielle</a></p>]]>
    </content>
  </entry>
  <entry xml:lang="fr">
    <id>https://cecil.app/fr/documentation/deployer/deploiement-continu/</id>
    <title>Build et déploiement continus</title>
    <published>2026-03-27T00:00:00+00:00</published>
    <updated>2026-10-02T00:00:00+00:00</updated>
    <link href="https://cecil.app/fr/documentation/deployer/deploiement-continu/" rel="alternate" type="text/html" />
    <content type="html">
      <![CDATA[<h1>Build et déploiement continus</h1>
<h2 id="github-pages">GitHub Pages</h2>
<blockquote>
<p>Des sites web pour vous et vos projets, hébergés directement depuis votre dépôt GitHub. Il suffit de modifier, pousser, et vos changements sont en ligne.</p>
</blockquote>
<p>➡️ <a href="https://pages.github.com" target="_blank" rel="noopener noreferrer">https://pages.github.com</a></p>
<p><em>.github/workflows/build-and-deploy.yml</em>:</p>
<pre><code class="language-yml hljs yaml" translate="no"><span class="hljs-attr">name:</span> <span class="hljs-string">Build</span> <span class="hljs-string">and</span> <span class="hljs-string">deploy</span> <span class="hljs-string">to</span> <span class="hljs-string">GitHub</span> <span class="hljs-string">Pages</span>
<span class="hljs-attr">on:</span>
  <span class="hljs-attr">push:</span>
    <span class="hljs-attr">branches:</span> <span class="hljs-string">[master,</span> <span class="hljs-string">main]</span>
  <span class="hljs-attr">workflow_dispatch:</span>
<span class="hljs-attr">concurrency:</span>
  <span class="hljs-attr">group:</span> <span class="hljs-string">pages</span>
  <span class="hljs-attr">cancel-in-progress:</span> <span class="hljs-literal">true</span>
<span class="hljs-attr">jobs:</span>
  <span class="hljs-attr">build:</span>
    <span class="hljs-attr">runs-on:</span> <span class="hljs-string">ubuntu-latest</span>
    <span class="hljs-attr">steps:</span>
      <span class="hljs-bullet">-</span> <span class="hljs-attr">name:</span> <span class="hljs-string">Checkout</span> <span class="hljs-string">source</span>
        <span class="hljs-attr">uses:</span> <span class="hljs-string">actions/checkout@v6</span>
      <span class="hljs-bullet">-</span> <span class="hljs-attr">name:</span> <span class="hljs-string">Restore</span> <span class="hljs-string">Cecil</span> <span class="hljs-string">cache</span>
        <span class="hljs-attr">uses:</span> <span class="hljs-string">actions/cache/restore@v5</span>
        <span class="hljs-attr">with:</span>
          <span class="hljs-attr">path:</span> <span class="hljs-string">./.cache</span>
          <span class="hljs-attr">key:</span> <span class="hljs-string">cecil-cache-</span>
          <span class="hljs-attr">restore-keys:</span> <span class="hljs-string">|
            cecil-cache-
</span>      <span class="hljs-bullet">-</span> <span class="hljs-attr">name:</span> <span class="hljs-string">Build</span> <span class="hljs-string">site</span>
        <span class="hljs-attr">uses:</span> <span class="hljs-string">Cecilapp/Cecil-Action@v4</span>
      <span class="hljs-bullet">-</span> <span class="hljs-attr">name:</span> <span class="hljs-string">Save</span> <span class="hljs-string">Cecil</span> <span class="hljs-string">cache</span>
        <span class="hljs-attr">uses:</span> <span class="hljs-string">actions/cache/save@v5</span>
        <span class="hljs-attr">with:</span>
          <span class="hljs-attr">path:</span> <span class="hljs-string">./.cache</span>
          <span class="hljs-attr">key:</span> <span class="hljs-string">cecil-cache-${{</span> <span class="hljs-string">hashFiles('./.cache/**/*')</span> <span class="hljs-string">}}</span>
  <span class="hljs-attr">deploy:</span>
    <span class="hljs-attr">needs:</span> <span class="hljs-string">build</span>
    <span class="hljs-attr">permissions:</span>
      <span class="hljs-attr">pages:</span> <span class="hljs-string">write</span>
      <span class="hljs-attr">id-token:</span> <span class="hljs-string">write</span>
    <span class="hljs-attr">environment:</span>
      <span class="hljs-attr">name:</span> <span class="hljs-string">github-pages</span>
      <span class="hljs-attr">url:</span> <span class="hljs-string">${{</span> <span class="hljs-string">steps.deployment.outputs.page_url</span> <span class="hljs-string">}}</span>
    <span class="hljs-attr">runs-on:</span> <span class="hljs-string">ubuntu-latest</span>
    <span class="hljs-attr">steps:</span>
      <span class="hljs-bullet">-</span> <span class="hljs-attr">name:</span> <span class="hljs-string">Deploy</span> <span class="hljs-string">to</span> <span class="hljs-string">GitHub</span> <span class="hljs-string">Pages</span>
        <span class="hljs-attr">id:</span> <span class="hljs-string">deployment</span>
        <span class="hljs-attr">uses:</span> <span class="hljs-string">actions/deploy-pages@v5</span></code></pre>
<p><a href="https://docs.github.com/en/pages" target="_blank" rel="noopener noreferrer">Documentation officielle</a></p>
<h2 id="gitlab-ci">GitLab CI</h2>
<blockquote>
<p>Avec GitLab Pages, vous pouvez publier des sites web statiques directement depuis un dépôt GitLab.</p>
</blockquote>
<p>➡️ <a href="https://about.gitlab.com/solutions/continuous-integration/" target="_blank" rel="noopener noreferrer">https://about.gitlab.com/solutions/continuous-integration/</a></p>
<p><em>.gitlab-ci.yml</em>:</p>
<pre><code class="language-yml hljs yaml" translate="no"><span class="hljs-attr">image:</span> <span class="hljs-string">wordpress:cli-php8.4</span>
<span class="hljs-attr">test:</span>
  <span class="hljs-attr">stage:</span> <span class="hljs-string">test</span>
  <span class="hljs-attr">variables:</span>
    <span class="hljs-attr">CECIL_OUTPUT_DIR:</span> <span class="hljs-string">test</span>
  <span class="hljs-attr">script:</span>
    <span class="hljs-bullet">-</span> <span class="hljs-string">curl</span> <span class="hljs-string">-sSOL</span> <span class="hljs-string">https://cecil.app/build.sh</span> <span class="hljs-string">&amp;&amp;</span> <span class="hljs-string">bash</span> <span class="hljs-string">./build.sh</span>
  <span class="hljs-attr">artifacts:</span>
    <span class="hljs-attr">paths:</span>
     <span class="hljs-bullet">-</span> <span class="hljs-string">test</span>
  <span class="hljs-attr">except:</span>
   <span class="hljs-bullet">-</span> <span class="hljs-string">master</span>
<span class="hljs-attr">pages:</span>
  <span class="hljs-attr">stage:</span> <span class="hljs-string">deploy</span>
  <span class="hljs-attr">variables:</span>
    <span class="hljs-attr">CECIL_ENV:</span> <span class="hljs-string">production</span>
    <span class="hljs-attr">CECIL_OUTPUT_DIR:</span> <span class="hljs-string">public</span>
  <span class="hljs-attr">script:</span>
    <span class="hljs-bullet">-</span> <span class="hljs-string">curl</span> <span class="hljs-string">-sSOL</span> <span class="hljs-string">https://cecil.app/build.sh</span> <span class="hljs-string">&amp;&amp;</span> <span class="hljs-string">bash</span> <span class="hljs-string">./build.sh</span>
  <span class="hljs-attr">artifacts:</span>
    <span class="hljs-attr">paths:</span>
      <span class="hljs-bullet">-</span> <span class="hljs-string">public</span>
  <span class="hljs-attr">only:</span>
    <span class="hljs-bullet">-</span> <span class="hljs-string">master</span>
<span class="hljs-attr">cache:</span>
  <span class="hljs-attr">paths:</span>
    <span class="hljs-bullet">-</span> <span class="hljs-string">composer-cache/</span>
    <span class="hljs-bullet">-</span> <span class="hljs-string">vendor/</span>
    <span class="hljs-bullet">-</span> <span class="hljs-string">.cache/</span></code></pre>
<p><a href="https://about.gitlab.com/stages-devops-lifecycle/continuous-integration/" target="_blank" rel="noopener noreferrer">Documentation officielle</a></p>]]>
    </content>
  </entry>
  <entry xml:lang="fr">
    <id>https://cecil.app/fr/documentation/deployer/hebergement-statique/</id>
    <title>Hébergement statique</title>
    <published>2026-03-27T00:00:00+00:00</published>
    <updated>2026-10-02T00:00:00+00:00</updated>
    <link href="https://cecil.app/fr/documentation/deployer/hebergement-statique/" rel="alternate" type="text/html" />
    <content type="html">
      <![CDATA[<h1>Hébergement statique</h1>
<h2 id="surge">Surge</h2>
<blockquote>
<p>Publier des projets web doit être rapide, simple et peu risqué. Surge est un service de publication de sites statiques pour les développeurs frontend, directement depuis la CLI.</p>
</blockquote>
<p>➡️ <a href="https://surge.sh" target="_blank" rel="noopener noreferrer">https://surge.sh</a></p>
<p>Terminal:</p>
<pre><code class="language-bash hljs bash" translate="no">npm install -g surge
surge _site/</code></pre>
<p><a href="https://surge.sh/help/" target="_blank" rel="noopener noreferrer">Documentation officielle</a></p>]]>
    </content>
  </entry>
</feed>
