Browse Source

Enable action to deploy theme from CI

master
angristan 5 months ago
parent
commit
ff87d7eb0e
1 changed files with 15 additions and 15 deletions
  1. +15
    -15
      .github/workflows/deploy-theme.yml

+ 15
- 15
.github/workflows/deploy-theme.yml View File

@@ -1,15 +1,15 @@
# name: Deploy Theme
# on:
# push:
# branches:
# - master
# jobs:
# deploy:
# runs-on: ubuntu-18.04
# steps:
# - uses: actions/checkout@master
# - uses: TryGhost/action-deploy-theme@v1.2.0
# with:
# api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
# api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
# theme-name: "casper-master"
name: Deploy Theme
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- uses: TryGhost/action-deploy-theme@v1.2.0
with:
api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
theme-name: "casper-master"

Loading…
Cancel
Save