removed gitea runner yaml

This commit is contained in:
Hugh Ratsch
2025-01-28 22:45:49 -06:00
parent e3e67bd66b
commit 027cae7efe
-31
View File
@@ -1,31 +0,0 @@
name: Build and Deploy mdBook
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Rust and Cargo
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install mdbook
run: cargo install mdbook --version "^0.4.44"
- name: Build mdbook
run: mdbook build
- name: Deploy to server (using scp)
run: |
scp -o StrictHostKeyChecking=no -r -P ${{ secrets.REMOTE_PORT }} book/* ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}:${{ secrets.TARGET }}
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}