Skip to content

Instantly share code, notes, and snippets.

@ahmadajmi
Last active Jan 11, 2022
Embed
What would you like to do?
Deploy a Ghost theme to different installs.
name: Beirut Theme Deploy
on:
push:
branches:
- master
- main
- deploy
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Deploy to Beirut
uses: TryGhost/action-deploy-theme@v1.4.1
with:
api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
- name: Deploy to Beirut Dark
uses: TryGhost/action-deploy-theme@v1.4.1
with:
api-url: ${{ secrets.Beirut_Dark_ADMIN_API_URL }}
api-key: ${{ secrets.Beirut_Dark_ADMIN_API_KEY }}
- name: Deploy to Beirut Yellow
uses: TryGhost/action-deploy-theme@v1.4.1
with:
api-url: ${{ secrets.Beirut_Yellow_ADMIN_API_URL }}
api-key: ${{ secrets.Beirut_Yellow_ADMIN_API_KEY }}
- name: Deploy to Beirut Red
uses: TryGhost/action-deploy-theme@v1.4.1
with:
api-url: ${{ secrets.Beirut_Red_ADMIN_API_URL }}
api-key: ${{ secrets.Beirut_Red_ADMIN_API_KEY }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment