Skip to content

Commit

Permalink
fix(config): move variables to top level of github yml (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKrieger authored Jun 25, 2024
1 parent 5a6ebf0 commit 14e55d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
pull_request:

jobs:
build-publish:
Expand All @@ -12,6 +13,10 @@ jobs:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
env:
REACT_APP_DOC_SEARCH_APP_ID: ${{ secrets.DOC_SEARCH_APP_ID }}
REACT_APP_DOC_SEARCH_INDEX_NAME: ${{ secrets.DOC_SEARCH_INDEX_NAME }}

steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -26,9 +31,6 @@ jobs:

- name: Build website
run: npm run build
env:
REACT_APP_DOC_SEARCH_APP_ID: ${{ secrets.DOC_SEARCH_APP_ID }}
REACT_APP_DOC_SEARCH_INDEX_NAME: ${{ secrets.DOC_SEARCH_INDEX_NAME }}

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
Expand Down
1 change: 0 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
import * as process from "node:process";

const config: Config = {
title: 'Brave Ads',
Expand Down

0 comments on commit 14e55d9

Please sign in to comment.