From 2fd309b5ef619669d861d9babb7ca9ee6e3d437e Mon Sep 17 00:00:00 2001 From: brooke Date: Fri, 10 May 2024 20:17:48 -0400 Subject: [PATCH] update article title --- .gitea/workflows/demo-deploy.yaml | 29 ------------------- .../{deploy.yaml => deploy-test.yaml} | 13 +++++++-- 2 files changed, 10 insertions(+), 32 deletions(-) delete mode 100644 .gitea/workflows/demo-deploy.yaml rename .gitea/workflows/{deploy.yaml => deploy-test.yaml} (61%) diff --git a/.gitea/workflows/demo-deploy.yaml b/.gitea/workflows/demo-deploy.yaml deleted file mode 100644 index ad1897e..0000000 --- a/.gitea/workflows/demo-deploy.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: Hugo - -on: - push: - branches: - - rework - -jobs: - build: - runs-on: hugo-latest - steps: - - name: Grab packages - run: apk add rsync openssh-client curl - - uses: actions/checkout@v4 - with: - submodules: 'true' - - name: Run build task - run: hugo --minify - - name: Test static page - run: bash ${{ gitea.workspace }}/bin/test_static_page.sh - - name: Deploy to Server - uses: easingthemes/ssh-deploy@main - env: - SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - ARGS: "-rlgoDzvc -i --delete" - SOURCE: "public/" - REMOTE_HOST: ${{ secrets.REMOTE_HOST }} - REMOTE_USER: ${{ secrets.REMOTE_USER }} - TARGET: ${{ secrets.DEMO_REMOTE_TARGET }} \ No newline at end of file diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy-test.yaml similarity index 61% rename from .gitea/workflows/deploy.yaml rename to .gitea/workflows/deploy-test.yaml index 8ff249b..19dde20 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy-test.yaml @@ -10,7 +10,7 @@ jobs: runs-on: hugo-latest steps: - name: Grab packages - run: apk add rsync openssh-client + run: apt install -y rsync openssh-client - uses: actions/checkout@v4 with: submodules: 'true' @@ -19,11 +19,18 @@ jobs: - name: Test static page run: bash ${{ gitea.workspace }}/bin/test_static_page.sh - name: Deploy to Server - uses: easingthemes/ssh-deploy@main + uses: https://git.myco.systems/mirrors/ssh-deploy@main env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} ARGS: "-rlgoDzvc -i --delete" 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