From f805fd0eb84069518e40f71b808b774a7249bfda Mon Sep 17 00:00:00 2001 From: hexxa Date: Sat, 11 Feb 2023 13:24:46 +0800 Subject: [PATCH] fix(cd): remove demo and staging workflows --- .github/workflows/cd_heroku.yml | 18 ------------------ .github/workflows/cd_heroku_staging.yml | 21 --------------------- README.md | 4 ---- docs/README_zh-cn.md | 4 ---- 4 files changed, 47 deletions(-) delete mode 100644 .github/workflows/cd_heroku.yml delete mode 100644 .github/workflows/cd_heroku_staging.yml diff --git a/.github/workflows/cd_heroku.yml b/.github/workflows/cd_heroku.yml deleted file mode 100644 index ed6dfd4..0000000 --- a/.github/workflows/cd_heroku.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: cd-heroku - -on: - release: - types: [published] - workflow_dispatch: {} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: akhileshns/heroku-deploy@v3.12.12 # This is the action - with: - heroku_api_key: ${{secrets.HEROKU_API_KEY}} - heroku_app_name: "hexxa-quickshare" - heroku_email: "hexxa@outlook.com" - usedocker: true diff --git a/.github/workflows/cd_heroku_staging.yml b/.github/workflows/cd_heroku_staging.yml deleted file mode 100644 index b275bae..0000000 --- a/.github/workflows/cd_heroku_staging.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: cd-heroku-staging - -on: - pull_request: - branches: [main] - workflow_dispatch: {} - -jobs: - build: - runs-on: ubuntu-latest - environment: - name: staging - url: https://hexxa-quickshare-staging.herokuapp.com/ - steps: - - uses: actions/checkout@v2 - - uses: akhileshns/heroku-deploy@v3.12.12 # This is the action - with: - heroku_api_key: ${{secrets.HEROKU_API_KEY}} - heroku_app_name: "hexxa-quickshare-staging" - heroku_email: "hexxa@outlook.com" - usedocker: true diff --git a/README.md b/README.md index e064c7a..14e419b 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,6 @@

-This is a [demo on Heroku](https://hexxa-quickshare.herokuapp.com/). - -(User is `demo`, password is `Quicksh@re`, uploading/downloading speed is limited to around 100KB.) - diff --git a/docs/README_zh-cn.md b/docs/README_zh-cn.md index bd999f2..1f4c5fd 100644 --- a/docs/README_zh-cn.md +++ b/docs/README_zh-cn.md @@ -14,10 +14,6 @@

-这是一个 [Heroku 上的演示](https://hexxa-quickshare.herokuapp.com/). - -(用户名是 `demo`, 密码是 `Quicksh@re`, 上传/下载速度被限制在大约 100KB.) - [English](../README.md) | 简体中文