Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 17 additions & 20 deletions .github/workflows/antora-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,20 @@ jobs:
antora:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: fusion-engineering/setup-git-credentials@v2
with:
credentials: ${{secrets.GIT_CREDENTIALS}}
- name: Antora Site with Lunr Search
uses: ghost-420/[email protected]
with:
antora_playbook: antora-playbook.yml
site_sources_path: ""
env:
GIT_CREDENTIALS: ${{secrets.GIT_CREDENTIALS}}
- name: Deploy to site branch
uses: JamesIves/[email protected]
with:
branch: site # The branch the action should deploy to.
folder: site # The folder the action should deploy.
clean-exclude: >
index.html
api/
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2

- name: repo.microstream.one:18081 docker registry login
run: echo "${{ secrets.DOCKER_REPO_PASSWORD }}" | docker login repo.microstream.one:18081 -u "${{ secrets.DOCKER_REPO_USER }}" --password-stdin

- name: generate antora
run: |
docker run -u $(id -u) -v $PWD:/antora:Z --rm -t repo.microstream.one:18081/antora:0.1 antora-playbook.yml
- name: Deploy to site branch
uses: JamesIves/[email protected]
with:
branch: site # The branch the action should deploy to.
folder: site # The folder the action should deploy.
clean-exclude: >
index.html
api/
token: ${{ secrets.GITHUB_TOKEN }}