Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
7 changes: 2 additions & 5 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,14 @@ jobs:
with:
node-version: '20.x'
cache: 'yarn'
- name: Docusaurus Webpack cache
uses: actions/cache@v3
with:
path: node_modules/.cache
key: ${{ runner.os }}-webpack-cache-${{ hashFiles('yarn.lock') }}
- name: Install awscli
uses: unfor19/install-aws-cli-action@v1
- name: Install jq
run: sudo apt-get install -y jq
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Clean Docusaurus cache
run: rm -rf .docusaurus build
- name: Build the Docusaurus site
run: yarn build
- name: Deploy the Docusaurus site
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/job_build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,10 @@ jobs:
with:
node-version: '20.x'
cache: 'yarn'
- name: Docusaurus Webpack cache
uses: actions/cache@v3
with:
path: node_modules/.cache
key: ${{ runner.os }}-webpack-cache-${{ hashFiles('yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Clean Docusaurus cache
run: rm -rf .docusaurus build
- name: Build the Docusaurus site
run: |
yarn build
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,10 @@ jobs:
with:
node-version: '20.x'
cache: 'yarn'
- name: Docusaurus Webpack cache
uses: actions/cache@v3
with:
path: node_modules/.cache
key: ${{ runner.os }}-webpack-cache-${{ hashFiles('yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Clean Docusaurus cache
run: rm -rf .docusaurus build
- name: Build the Docusaurus site
run: yarn build
# --- Disallowed character checks for Pantheon ---
Expand Down