Skip to content

Commit 29f440b

Browse files
committed
feat: add deploy step to ci/cd
1 parent 2f9b691 commit 29f440b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,15 @@ jobs:
6363
tag: ${{ steps.tag_version.outputs.new_tag }}
6464
name: ${{ steps.tag_version.outputs.new_tag }}
6565
body: ${{ steps.tag_version.outputs.changelog }}
66-
token: ${{ secrets.RELEASES_ACTION_GITHUB_TOKEN }}
66+
token: ${{ secrets.RELEASES_ACTION_GITHUB_TOKEN }}
67+
68+
deploy:
69+
needs: build
70+
name: Deploy App on digital ocean
71+
runs-on: ubuntu-latest
72+
steps:
73+
- name: DigitalOcean App Platform deployment
74+
uses: digitalocean/app_action@main
75+
with:
76+
app_name: andskur-gitsec-backend
77+
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)