update deployment script
All checks were successful
Static Deploy / build (push) Successful in 16s

This commit is contained in:
Brooke 2024-04-28 00:31:52 -04:00
parent e12c8104ec
commit 750e4311c0

View file

@ -1,25 +1,26 @@
name: Static Deploy
on: [push]
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Grab packages
run: |
apt-get update && \
apt-get install --no-install-recommends --no-install-suggests -y jq rsync
- name: Test static page
run: bash ${{ gitea.workspace }}/bin/test_static_page.sh
- name: Deploy to Server
uses: easingthemes/ssh-deploy@main
env:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Grab packages
run: |
apt-get update && \
apt-get install --no-install-recommends --no-install-suggests -y jq rsync
- 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/"