Added deploy ghost theme github action

- see https://github.com/marketplace/actions/deploy-ghost-theme
- use the new deploy theme github action to automatically deploy master to a test site
This commit is contained in:
Hannah Wolfe 2019-10-18 14:19:01 +01:00
parent 215d837848
commit 7161dca4ca

11
.github/workflows/deploy-theme.yml vendored Normal file
View file

@ -0,0 +1,11 @@
name: Deploy Theme
on: [push]
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- uses: TryGhost/action-deploy-theme@v1.0.0
with:
api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}