From c36843438743d38ed8323828b126ffc50766b6da Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sun, 8 Oct 2023 19:39:28 +0200 Subject: [PATCH] ci: remove netlify develop deployment Signed-off-by: Philip Molares --- .../frontend-netlify-deploy-main.yml | 65 ------------------- README.md | 8 +-- 2 files changed, 2 insertions(+), 71 deletions(-) delete mode 100644 .github/workflows/frontend-netlify-deploy-main.yml diff --git a/.github/workflows/frontend-netlify-deploy-main.yml b/.github/workflows/frontend-netlify-deploy-main.yml deleted file mode 100644 index 4a7e4f928..000000000 --- a/.github/workflows/frontend-netlify-deploy-main.yml +++ /dev/null @@ -1,65 +0,0 @@ -# SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file) -# -# SPDX-License-Identifier: AGPL-3.0-only - -name: Frontend / Deploy develop branch to Netlify - -on: - push: - branches: [ develop ] - -env: - NETLIFY_VERSION: 13.2.2 - NETLIFY_NEXTJS_PLUGIN_VERSION: 4.33.0 - NODEJS_VERSION: 20 - -defaults: - run: - working-directory: frontend - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} - cancel-in-progress: true - -jobs: - deploy: - runs-on: ubuntu-latest - name: Deploys to netlify - steps: - - name: Checkout repository - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 - - - name: Setup node - uses: ./.github/actions/setup-node - with: - NODEJS_VERSION: ${{ env.NODEJS_VERSION }} - - - name: Patch intro.md to include netlify banner. - run: cp netlify/intro.md public/public/intro.md - - - name: Patch motd.md to include privacy policy. - run: cp netlify/motd.md public/public/motd.md - - - name: Patch base URL - run: echo "HD_BASE_URL=\"https://hedgedoc.dev/\"" >> .env.production - - - name: Build app - run: yarn build --filter=frontend - shell: bash - working-directory: . - env: - NEXT_PUBLIC_USE_MOCK_API: true - TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_API: ${{ vars.TURBO_API }} - TURBO_TEAM: ${{ vars.TURBO_TEAM }} - - - name: Remove Next.js cache to avoid it being deployed - run: rm -r .next/cache - - - name: Install netlify CLI - run: "yarn add --dev netlify-cli@${{ env.NETLIFY_VERSION }} @netlify/plugin-nextjs@${{ env.NETLIFY_NEXTJS_PLUGIN_VERSION }}" - - - name: Run netlify CLI deployment - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - run: "netlify deploy --build --prod --message \"${{ github.event.head_commit.id }}\"" diff --git a/README.md b/README.md index 4f3a4de96..d365201a6 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,8 @@ We are currently working on HedgeDoc 2, a complete rewrite of HedgeDoc. Please n ## Development Information for setting up a local development environment can be found in the [developer documentation](./docs/content/dev/getting-started.md) -## HedgeDoc 2 UI Test -Curious about the new look and feel of HedgeDoc 2? We provide a demo of the new UI on [hedgedoc.dev](https://hedgedoc.dev). This -version uses mocked data and has no data persistence. - -The UI test is hosted by [netlify](https://netlify.com). Please check -their [privacy policy](https://netlify.com/privacy) as well as [ours](https://hedgedoc.org/privacy-policy). +## HedgeDoc 2 Alpha +Curious about the new look and feel of HedgeDoc 2? We provide a demo of the alpha on [hedgedoc.dev](https://hedgedoc.dev). ## Contributions