diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index b3966adeb1..d7222b6e69 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -50,18 +50,18 @@ jobs: id: gatsby-cache-folder with: path: .cache - key: ${{ runner.os }}-cache-gatsby-${{ github.sha }} + key: ${{ runner.os }}-cache-gatsby-main restore-keys: | - ${{ runner.os }}-cache-gatsby- + ${{ runner.os }}-cache-gatsby-main - name: Gatsby Public Folder uses: actions/cache@v4 id: gatsby-public-folder with: path: public/ - key: ${{ runner.os }}-public-gatsby-${{ github.sha }} + key: ${{ runner.os }}-public-gatsby-main restore-keys: | - ${{ runner.os }}-public-gatsby- + ${{ runner.os }}-public-gatsby-main - run: npm install - run: npm run build diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index ee6645a559..685d23f4e6 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -50,18 +50,18 @@ jobs: id: gatsby-cache-folder with: path: .cache - key: ${{ runner.os }}-cache-gatsby-${{ github.sha }} + key: ${{ runner.os }}-cache-gatsby-main restore-keys: | - ${{ runner.os }}-cache-gatsby- + ${{ runner.os }}-cache-gatsby-main - name: Gatsby Public Folder uses: actions/cache@v4 id: gatsby-public-folder with: path: public/ - key: ${{ runner.os }}-public-gatsby-${{ github.sha }} + key: ${{ runner.os }}-cache-gatsby-main restore-keys: | - ${{ runner.os }}-public-gatsby- + ${{ runner.os }}-cache-gatsby-main - run: npm install - run: npm run build diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index f76768f925..6e2815cc0a 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -69,18 +69,18 @@ jobs: id: gatsby-cache-folder with: path: .cache - key: ${{ runner.os }}-cache-gatsby-${{ github.sha }} + key: ${{ runner.os }}-cache-gatsby-${{ github.ref }} restore-keys: | - ${{ runner.os }}-cache-gatsby- + ${{ runner.os }}-cache-gatsby-main - name: Gatsby Public Folder uses: actions/cache@v4 id: gatsby-public-folder with: path: public/ - key: ${{ runner.os }}-public-gatsby-${{ github.sha }} + key: ${{ runner.os }}-public-gatsby-${{ github.ref }} restore-keys: | - ${{ runner.os }}-public-gatsby- + ${{ runner.os }}-public-gatsby-main - run: npm install - run: npm run build @@ -135,4 +135,4 @@ jobs: body: | ## Preview Deployment 🚀 Preview this PR: ${{ steps.url_preview.outputs.NETLIFY_PREVIEW_URL }} - 📍 Commit SHA: ${{ github.sha }} \ No newline at end of file + 📍 Commit SHA: ${{ github.sha }} diff --git a/README.md b/README.md index 68d4d92229..e953d05e36 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # docs-content -## What Is this Repository? +## What Is this Repository? This repository hosts the content for Arduino's documentation website. The content needs to be written in Markdown and will be converted to HTML automatically during the build process.