add gitea deploy action

This commit is contained in:
MaysWind 2024-12-22 17:21:53 +08:00
parent 9ce1c8d397
commit dd155a0f63

View file

@ -0,0 +1,17 @@
name: Deploy Docker Image
on:
workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Execute custom script
run: |
cat >> deploy.sh <<EOF
#!/bin/sh
${{ vars.CUSTOM_DEPLOY_SCRIPTS }}
EOF
chmod +x deploy.sh
./deploy.sh