Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:expstaticpublish

Den statischen Build eines Ziels veröffentlichen (statisches Veröffentlichen): im Git-Repository des Ziels committen, als static/<ziel>/<n> taggen und pushen, nie erzwungen.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/expstaticpublish.md

On this page

This page is a translation. Read the English original

exp:expstaticpublish

Den statischen Build eines Ziels veröffentlichen (statisches Veröffentlichen): im Git-Repository des Ziels committen, als static/<ziel>/<n> taggen und pushen, nie erzwungen.

Skript bin/php/expstaticpublish.php, Code in kernel/private/classes/commands/expstaticpublish.php. Führen Sie es im Wurzelverzeichnis der Installation aus, als der Benutzer, unter dem der Webserver läuft:

./console exp:expstaticpublish --help
./console exp:static:publish --help
php bin/php/expstaticpublish.php --help

Hilfetext

Was --help ausgibt, so wie der Befehl es schreibt:

Publish a static build to its git remote
Commits the build in the target's folder (var/<site>/static-publish/<target>/, a git repository of
its own: only the files of the build), tags the commit static/<target>/<n> and pushes the branch and
the tag to the target's Remote, signed in with its Credential (a token from Setup > Secrets, a deploy
key, or none). A push is never forced; a push that fails stays local and exp:static:push or the
cronjob part staticpublish tries again. Every publish is a row of exp_static_run.

./console exp:static:publish github-public --build
./console exp:static:publish github-public --nodes=2,57             build these nodes' pages, then publish
./console exp:static:publish github-public --message="New opening hours"
./console exp:static:publish github-public --no-push                commit and tag only

Optionen

OptionWertHilfe
--buildDas Ziel zuerst bauen (wie exp:static:build); wird der Build nicht fertig, wird nichts committet
--nodeserforderlichNur die Seiten dieser Knoten bauen (Knoten-IDs; eine Kommaliste oder wiederholt), in jedem Siteaccess des Ziels; der Rest des letzten Builds bleibt
--messageerforderlichDie Commit-Nachricht (Standard: was veröffentlicht wurde, oder welche Veröffentlichung wiederhergestellt wird)
--no-pushCommitten und taggen, aber nicht pushen (exp:static:push pusht später)
--formaterforderlichtext (Standard) oder json (die Maschinenausgabe exp-static/1)
--loginerforderlichAls dieser Benutzer laufen (so startet die Administration ihre Jobs); als Ausführender aufgezeichnet
--run-iderforderlichDie ID des Laufs (Datum-Uhrzeit-6 Hexziffern) statt einer neuen (die Administration übergibt die ID ihres Jobs)
--progresserforderlichDen Fortschritt zusätzlich an diese Datei anhängen, ein JSON-Objekt pro Zeile (die Administration verfolgt sie)

Aus den Optionsdefinitionen im Code gelesen (startup(), getOptions(), options() oder ezcConsoleOption). Jedes Skript nimmt außerdem die Standardoptionen des Skript-Frameworks (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Argumente: [target].

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus bin/php/expstaticpublish.php, kernel/private/classes/commands/expstaticpublish.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x