diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 8ee1d3d..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,49 +0,0 @@ -# name: 🌍 Deploy demo - -# on: -# push: -# branches: ["main"] -# pull_request: -# branches: ["main"] - -# concurrency: -# cancel-in-progress: true -# group: deploy-${{ github.ref }} - -# jobs: -# build: -# name: Deployment demo on gh-pages -# runs-on: ubuntu-latest -# steps: -# - name: Checkout repository -# uses: actions/checkout@v4 - -# - name: Install NodeJS -# uses: actions/setup-node@v4 -# with: -# node-version: "20" -# cache: "yarn" - -# - name: Install dependencies -# run: | -# yarn --immutable - -# - name: Build -# env: -# NODE_ENV: production # JS build mode -# PRODUCTION: true # for environment (ex: robots.txt) -# SENTRY_URL: https://sentry.incubateur.net -# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} -# SENTRY_ORG: betagouv -# SENTRY_PROJECT: albert-docs -# SENTRY_RELEASE_UPLOAD: true -# run: | -# yarn build -# touch out/.nojekyll - -# # deploy build to gh-pages -# - name: Deploy 🚀 -# uses: JamesIves/github-pages-deploy-action@4.1.9 -# with: -# branch: gh-pages -# folder: out diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml deleted file mode 100644 index 448235b..0000000 --- a/.github/workflows/playwright.yml +++ /dev/null @@ -1,34 +0,0 @@ -# name: 🤖 Playwright Tests - -# on: -# push: -# branches: ["main"] -# pull_request: -# branches: ["main"] - -# jobs: -# test: -# timeout-minutes: 20 -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v4 -# - uses: actions/setup-node@v4 -# with: -# node-version: 18 -# - name: Install dependencies -# run: npm install -g yarn && yarn -# - name: Install Playwright Browsers -# run: yarn playwright install --with-deps -# - name: Build app -# run: yarn build -# env: -# NEXT_PUBLIC_BASE_PATH: "" -# NODE_ENV: production -# - name: Run Playwright tests -# run: yarn playwright test -# - uses: actions/upload-artifact@v4 -# if: always() -# with: -# name: playwright-report -# path: playwright-report/ -# retention-days: 30 diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 6eaeecc..84cf64a 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -30,7 +30,7 @@ const CollectionCard = ({ collection }: { collection: AlbertCollection }) => ( } linkProps={{ - href: `/collection?id=${collection.id}`, + href: `/collection.html?id=${collection.id}`, }} size="small" title={collection.name} @@ -69,7 +69,8 @@ const Home: NextPage = () => { name, token: albertApiKey, }); - router && router.push(`/collection?id=${collectionId}`); + router && + router.push(`/collection.html?id=${collectionId}`); } }, }}