[EDP-DDM-00000] Updated task-1-registry-db-modeling.adoc, added examp… #493
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to GitHub Pages | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install Antora and the Antora Lunr Extension | |
run: npm i antora @antora/lunr-extension | |
- name: Install Kroks | |
run: npm i asciidoctor-kroki | |
- name: Generate Site EN | |
run: npx antora site-en-github.yaml | |
- name: Generate Site UA | |
run: npx antora site-ua-github.yaml | |
- name: Run update vars script for demo registry's URLs | |
run: ./.github/scripts/update-demo-registry-vars.sh | |
shell: bash | |
- name: Publish to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: github-pages |