From a7cb59039d184a69593d14e227f86b04ca67161b Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Tue, 19 Dec 2023 11:46:36 -0500 Subject: [PATCH] Add GitHub Action to deploy --- .github/workflows/deploy-theme.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/deploy-theme.yml diff --git a/.github/workflows/deploy-theme.yml b/.github/workflows/deploy-theme.yml new file mode 100644 index 00000000..6772e9f7 --- /dev/null +++ b/.github/workflows/deploy-theme.yml @@ -0,0 +1,16 @@ +name: Deploy Theme +on: + push: + branches: + - master + - deploy +jobs: + deploy: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Deploy Ghost Theme + uses: TryGhost/action-deploy-theme@v1 + with: + api-url: ${{ secrets.GHOST_ADMIN_API_URL }} + api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}