redirect for vantagecloud-lake-compute-cluster-airflow #549
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: | |
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 |