Compare commits
2 Commits
1.0.1
..
a487ae9019
| Author | SHA1 | Date | |
|---|---|---|---|
| a487ae9019 | |||
| 1544dfc59e |
+1
-1
@@ -13,7 +13,7 @@ steps:
|
|||||||
- cp deploy /data
|
- cp deploy /data
|
||||||
- cp config.yml.sample /data/config.yml
|
- cp config.yml.sample /data/config.yml
|
||||||
- cd /data && tar cvf release.tar --exclude=release.tar .
|
- cd /data && tar cvf release.tar --exclude=release.tar .
|
||||||
- name: relase
|
- name: release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
volumes:
|
volumes:
|
||||||
- name: dist
|
- name: dist
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
Description=Auto Deploy Service
|
Description=Auto Deploy Service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=sample
|
Type=simple
|
||||||
|
User=root
|
||||||
WorkingDirectory=/etc/auto-deploy-service
|
WorkingDirectory=/etc/auto-deploy-service
|
||||||
ExecStart=/usr/local/bin/deploy
|
ExecStart=/usr/local/bin/deploy
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|||||||
Reference in New Issue
Block a user