Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to github pages deployment #5

Merged
merged 3 commits into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to GitHub Pages
name: website-deploy-to-github-pages

on:
push:
Expand All @@ -20,6 +20,7 @@ jobs:
with:
node-version: 18
cache: npm
cache-dependency-path: website/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build website
Expand All @@ -29,6 +30,7 @@ jobs:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Build output to publish to the `gh-pages` branch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test deployment
name: website-test-deployment

on:
pull_request:
Expand All @@ -19,6 +19,7 @@ jobs:
with:
node-version: 18
cache: npm
cache-dependency-path: website/package-lock.json

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const config = {
title: 'Data on EKS (DoEKS)',
tagline: 'Accelerate your Data journey on Amazon EKS',
url: 'https://awslabs.github.io/',
url: 'https://awslabs.github.io',
baseUrl: '/',
trailingSlash: false,
onBrokenLinks: 'throw',
Expand Down
Loading