Merge branch 'main' of https://github.com/rancher/fleet-docs
This commit is contained in:
commit
ee10cca6a0
|
|
@ -0,0 +1,27 @@
|
|||
name: GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout main docs repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Docusaurus
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16.x
|
||||
cache: yarn
|
||||
- name: Build website
|
||||
run: |
|
||||
yarn install --frozen-lockfile
|
||||
yarn build
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./build
|
||||
|
|
@ -3,8 +3,8 @@
|
|||
module.exports = {
|
||||
title: 'Fleet',
|
||||
tagline: '',
|
||||
url: 'https://docs.fleet.io',
|
||||
baseUrl: '/',
|
||||
url: 'https://rancher.github.io',
|
||||
baseUrl: '/fleet-docs/',
|
||||
onBrokenLinks: 'warn',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
favicon: 'img/favicon.ico',
|
||||
|
|
|
|||
Loading…
Reference in New Issue