Update .gitea/workflows/deploy.yaml
All checks were successful
Hugo / build (push) Successful in 54s
All checks were successful
Hugo / build (push) Successful in 54s
This commit is contained in:
parent
f21401d046
commit
471e0aee42
1 changed files with 10 additions and 3 deletions
|
@ -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,7 +19,7 @@ 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"
|
||||
|
@ -27,3 +27,10 @@ jobs:
|
|||
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
|
||||
REMOTE_USER: ${{ secrets.REMOTE_USER }}
|
||||
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
|
Loading…
Add table
Reference in a new issue