Last active
January 11, 2022 10:21
-
-
Save ahmadajmi/e59c2c4354a74657b85854ade0cfce51 to your computer and use it in GitHub Desktop.
Deploy a Ghost theme to different installs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
with: | |
api-url: ${{ secrets.GHOST_ADMIN_API_URL }} | |
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }} | |
- name: Deploy to Beirut Dark | |
uses: TryGhost/[email protected] | |
with: | |
api-url: ${{ secrets.Beirut_Dark_ADMIN_API_URL }} | |
api-key: ${{ secrets.Beirut_Dark_ADMIN_API_KEY }} | |
- name: Deploy to Beirut Yellow | |
uses: TryGhost/[email protected] | |
with: | |
api-url: ${{ secrets.Beirut_Yellow_ADMIN_API_URL }} | |
api-key: ${{ secrets.Beirut_Yellow_ADMIN_API_KEY }} | |
- name: Deploy to Beirut Red | |
uses: TryGhost/[email protected] | |
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