From d3670e7e4614873ba7aae4b39920d102bed4c94d Mon Sep 17 00:00:00 2001 From: Brooke Date: Tue, 7 May 2024 04:52:44 -0400 Subject: [PATCH] combine into one script --- .../workflows/{deploy.yaml => deploy-test.yaml} | 9 ++++++++- .gitea/workflows/test.yaml | 17 ----------------- 2 files changed, 8 insertions(+), 18 deletions(-) rename .gitea/workflows/{deploy.yaml => deploy-test.yaml} (71%) delete mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy-test.yaml similarity index 71% rename from .gitea/workflows/deploy.yaml rename to .gitea/workflows/deploy-test.yaml index aae4985..a28b903 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy-test.yaml @@ -26,4 +26,11 @@ jobs: SOURCE: "public/" REMOTE_HOST: ${{ secrets.REMOTE_HOST }} REMOTE_USER: ${{ secrets.REMOTE_USER }} - TARGET: ${{ secrets.REMOTE_TARGET }} \ No newline at end of file + TARGET: ${{ secrets.REMOTE_TARGET }} + - name: Running Page Speed Insights + uses: https://github.com/JakePartusch/psi-action@v1.3 + id: drafting + with: + url: "https://midtowndrafting.com" + threshold: 70 + strategy: desktop \ No newline at end of file diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml deleted file mode 100644 index 089a47d..0000000 --- a/.gitea/workflows/test.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Page Speed Insights - -on: - push: - branches: - - main - -jobs: - test: - runs-on: ubuntu-22.04 - steps: - - name: Running Page Speed Insights - uses: https://github.com/JakePartusch/psi-action@v1.3 - id: drafting - with: - url: "https://midtowndrafting.com" - threshold: 70