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 }}