Skip to content

Improve #fulcro link, v2 #97

Improve #fulcro link, v2

Improve #fulcro link, v2 #97

Workflow file for this run

name: deploy-site
on:
push:
branches:
- master
workflow_dispatch:
repository_dispatch:
env:
SITE_DIR: 'site'
jobs:
build_site:
name: "Build site with Antora"
runs-on: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: "Update submodules to latest"
run: git submodule update --remote
- name: "Generate site using antora site action"
uses: kameshsampath/[email protected]
with:
antora_playbook: antora-playbook.yml
- name: "Upload generated site"
uses: actions/[email protected]
with:
name: site
path: "${{ github.workspace }}/build/${{ env.SITE_DIR }}"
deploy_site:
runs-on: [ubuntu-latest]
needs: [build_site]
name: "Deploy GitHub Pages"
steps:
- name: Setup Node.js for use with actions
uses: actions/[email protected]
with:
node-version: '14'
- name: Checkout
uses: actions/checkout@v2
- name: Download generated site
uses: actions/download-artifact@v1
with:
name: site
path: "${{ github.workspace }}/${{ env.SITE_DIR }}"
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: "${{ github.token}}"
FOLDER: "${{ env.SITE_DIR }}"
BRANCH: 'gh-pages'
COMMIT_MESSAGE: "[CI] Publish Documentation for ${{ github.sha }}"
CLEAN: true