WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit dd155a0

Browse files
committed
add gitea deploy action
1 parent 9ce1c8d commit dd155a0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.gitea/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy Docker Image
2+
3+
on:
4+
workflow_dispatch
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Execute custom script
11+
run: |
12+
cat >> deploy.sh <<EOF
13+
#!/bin/sh
14+
${{ vars.CUSTOM_DEPLOY_SCRIPTS }}
15+
EOF
16+
chmod +x deploy.sh
17+
./deploy.sh

0 commit comments

Comments
 (0)