Skip to content

Commit fd3deab

Browse files
deploy script
1 parent abda79f commit fd3deab

File tree

2 files changed

+14
-24
lines changed

2 files changed

+14
-24
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,20 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- name: SSH and Deploy Docker Image
13-
uses: appleboy/[email protected]
12+
- uses: actions/checkout@v4
13+
14+
- uses: docker/login-action@v3
15+
with:
16+
username: ${{ secrets.DOCKERHUB_USERNAME }}
17+
password: ${{ secrets.DOCKERHUB_PASSWORD }}
18+
19+
- uses: docker/build-push-action@v6
20+
with:
21+
context: .
22+
push: true
23+
tags: swiftfiddle/swiftfiddle-lsp:latest
24+
25+
- uses: appleboy/[email protected]
1426
with:
1527
host: ${{ secrets.SSH_HOST }}
1628
username: ${{ secrets.SSH_USER }}

0 commit comments

Comments
 (0)