Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 7399a17

Browse files
authored
feat: deploy action
1 parent 01f6bb2 commit 7399a17

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy to Caprover
2+
3+
on:
4+
registry_package:
5+
types: [published]
6+
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
node-version: [18.x]
14+
15+
steps:
16+
- name: Deploy Image to CapRrover
17+
uses: caprover/[email protected]
18+
with:
19+
server: "${{ secrets.CAPROVER_SERVER }}"
20+
app: website
21+
token: "${{ secrets.CAPROVER_TOKEN }}"
22+
image: ghcr.io/eddiehubcommunity/website:latest

0 commit comments

Comments
 (0)