Skip to content

Merge pull request #229 from Teradata/redirect-cosmos-article #544

Merge pull request #229 from Teradata/redirect-cosmos-article

Merge pull request #229 from Teradata/redirect-cosmos-article #544

Workflow file for this run

name: Publish to GitHub Pages
on:
workflow_dispatch:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 17
cache: npm
- name: Run Antora
run: ./buildw
- name: Add static resources
run: cp -fr ./static/. ./build/site/
- name: Turnstyle
if: ${{ ! env.GITHUB_TOKEN == '' }}
uses: softprops/turnstyle@v1
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/site
cname: quickstarts.teradata.com
keep_files: true