mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
add gitea deploy action
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user