middleman gh pages action
Initial release
Eine Github-Aktion zum Aufbau und Bereitstellen eines Mittelsmanns in der gh-pages -Filiale.
GITHUB_REPOSITORY : Repo, auf dem die erstellte Website veröffentlicht wird (optional, standardmäßig zum Repo -Namen)BUILD_LOCATION : Ort, an dem der Mittelsmann Ihre Website erstellt (optional, standardmäßig build ))GITHUB_ACTOR : Name des Bereitstellungsakteurs (optional, Standardeinstellungen zum deploy )REMOTE_BRANCH : Name des Zweigs, um das Projekt auf zu drücken (optional, Verlassungen an gh-pages )SITE_LOCATION : Ort Ihres Middleman -Projekts innerhalb des Repo (optional, standardmäßig zum Projektroot) Fügen Sie dies zu .github/workflows/gh-pages.yml Ihres Projekts.
name : Middleman
on :
push :
branches : [master]
jobs :
build_and_deploy :
name : Build & Deploy
runs-on : ubuntu-latest
steps :
- uses : actions/checkout@v1
- name : Build & Deploy to GitHub Pages
with :
REMOTE_BRANCH : gh-pages
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
uses : yurikoval/middleman-gh-pages-action@master