Skip to content

Commit 3a10065

Browse files
committed
1 parent 1c4cbf1 commit 3a10065

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/cd.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ jobs:
3131
3232
deploy:
3333
runs-on: self-hosted
34+
defaults:
35+
run:
36+
working-directory: ../..
3437
steps:
35-
- name: Change permission
36-
run: chmod +x /home/ubuntu/deploy.sh
37-
38-
- name: Deploy
39-
run: /home/ubuntu/deploy.sh
38+
- name: deploy
39+
run: |
40+
chmod +x ./deploy.sh
41+
sudo ./deploy.sh
4042
4143
#

0 commit comments

Comments
 (0)