From dfd6b7973c1670449150b7853efb954a5b176314 Mon Sep 17 00:00:00 2001 From: "Chris Baudouin, Jr" Date: Fri, 22 Jan 2021 22:34:01 -0500 Subject: [PATCH 1/2] Removes Dokku files/integrations --- .github/workflows/deploy-staging.yml | 24 +++++++++++------------- .github/workflows/featurepeek.yml | 17 ----------------- buildpack-run.sh | 5 ----- 3 files changed, 11 insertions(+), 35 deletions(-) delete mode 100644 .github/workflows/featurepeek.yml delete mode 100644 buildpack-run.sh diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 6071475a7..02fb6f2c1 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -1,20 +1,18 @@ name: Deploy - Staging -on: - push: - branches: - - develop - +on: push jobs: - deploy-staging: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Use node 12.x + uses: actions/setup-node@v1 with: - ref: develop - - name: Push to Staging - uses: dokku/github-action@master - with: - git_push_flags: '--force' - git_remote_url: 'ssh://dokku@csh-cloud.oweb.co:22/brickhack-stage' - ssh_private_key: ${{ secrets.CODERIT_CLOUD_SSH_PRIVATE_KEY }} + node-version: 12.x + - name: Install dependencies + run: npm install + - name: Build + run: npm run build + - name: Ping FeaturePeek + run: bash <(curl -s https://peek.run/ci) diff --git a/.github/workflows/featurepeek.yml b/.github/workflows/featurepeek.yml deleted file mode 100644 index 17bbd4f4f..000000000 --- a/.github/workflows/featurepeek.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Build and ping FeaturePeek -on: push -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Use node 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: Install dependencies - run: npm install - - name: Build - run: npm run build - - name: Ping FeaturePeek - run: bash <(curl -s https://peek.run/ci) diff --git a/buildpack-run.sh b/buildpack-run.sh deleted file mode 100644 index 2249a84b9..000000000 --- a/buildpack-run.sh +++ /dev/null @@ -1,5 +0,0 @@ -# Runs build script so heroku-buildpack-static -# has a freshly compiled static site to work with. -rm -r build -npm install -npm run build From 061670f7338124da0dc84d84ccccf68f7c46ddb6 Mon Sep 17 00:00:00 2001 From: "Chris Baudouin, Jr" Date: Fri, 22 Jan 2021 22:39:33 -0500 Subject: [PATCH 2/2] Update deploy-staging.yml --- .github/workflows/deploy-staging.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 02fb6f2c1..d9839ec8d 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -1,3 +1,5 @@ +# Deploys a preview page for each PR on FeaturePeek + name: Deploy - Staging on: push