Skip to content

Commit

Permalink
Automatically build and deploy theme to PL blog when pushing to main
Browse files Browse the repository at this point in the history
  • Loading branch information
thedotedge committed Jul 30, 2023
1 parent 55481fd commit eb70cf3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Deploy Theme
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Deploy Ghost Theme
uses: TryGhost/action-deploy-theme@v1
with:
api-url: ${{ secrets.GHOST_ADMIN_PL_API_URL }}
api-key: ${{ secrets.GHOST_ADMIN_PL_API_KEY }}

0 comments on commit eb70cf3

Please sign in to comment.