Skip to content

Commit c43b49f

Browse files
introduce github action
1 parent db6aee0 commit c43b49f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

github/workflows/deploy-theme.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Deploy Theme
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Deploy Ghost Theme
13+
uses: TryGhost/action-deploy-theme@v1
14+
with:
15+
api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
16+
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}

0 commit comments

Comments
 (0)