Skip to content

Instantly share code, notes, and snippets.

@ahmadajmi
Last active January 11, 2022 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmadajmi/e59c2c4354a74657b85854ade0cfce51 to your computer and use it in GitHub Desktop.
Save ahmadajmi/e59c2c4354a74657b85854ade0cfce51 to your computer and use it in GitHub Desktop.
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