diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index f99b1b6f..04ff7791 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -19,9 +19,10 @@ jobs: OPENGRAPH_IMAGE_URL: ${{ secrets.OPENGRAPH_IMAGE_URL }} steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ref: 'dev' + fetch-depth: 0 - name: Use NodeJS v20.15.0 uses: actions/setup-node@v3 with: diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 25125c6f..d71c7f64 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -19,9 +19,10 @@ jobs: OPENGRAPH_IMAGE_URL: ${{ secrets.OPENGRAPH_IMAGE_URL }} steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ref: ${{ github.event.release.tag_name }} + fetch-depth: 0 - name: Use NodeJS v20.15.0 uses: actions/setup-node@v3 with: @@ -82,7 +83,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ref: ${{ github.event.release.tag_name }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 291c1a4b..343a7d64 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: Use NodeJS v20.15.0 uses: actions/setup-node@v3 with: diff --git a/.github/workflows/pull-images.yml b/.github/workflows/pull-images.yml index 52d13d31..42cf9741 100644 --- a/.github/workflows/pull-images.yml +++ b/.github/workflows/pull-images.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: Fetch and check out latest tag run: | diff --git a/README.md b/README.md index 1c1c7ad7..1a694abf 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ The app depends these libraries and frameworks. #### To display a new image: -1. Upload the image to the `/assets` branch, ([Issue #102](https://github.com/acaptutorials/acaptutorials.github.io/issues/102)) +1. Upload the image to the [`/assets`](https://github.com/acaptutorials/acaptutorials.github.io/tree/assets) branch, ([Issue #102](https://github.com/acaptutorials/acaptutorials.github.io/issues/102)) - Commit the file under the appropriate directory (e.g., `/images/`, `/docs/`, etc.). - Use **unique, versioned file names** (e.g., `feature-v2.png`) to prevent caching issues. diff --git a/docs/pages/404.jsx b/docs/pages/404.jsx new file mode 100644 index 00000000..c5115832 --- /dev/null +++ b/docs/pages/404.jsx @@ -0,0 +1,70 @@ +import Head from 'next/head' +import Image from 'next/image' + +const NotFoundPage = () => { + return ( + <> +
++ The page you're looking for doesn't exist or has been moved. +
++ Need help finding what you're looking for? +
+ +