Skip to content

chore(deps): update dependency gulp-zip to v6 #1219

chore(deps): update dependency gulp-zip to v6

chore(deps): update dependency gulp-zip to v6 #1219

Workflow file for this run

name: Journal
on:
pull_request:
push:
branches:
- main
- 'renovate/*'
paths:
- 'packages/journal/**'
- '.github/workflows/journal.yml'
jobs:
test:
name: Test
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
steps:
- uses: actions/checkout@v4
- run: yarn
- run: yarn test:ci --theme journal
deploy:
name: Deploy
runs-on: ubuntu-latest
needs: test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Deploy theme
uses: TryGhost/action-deploy-theme@v1
with:
api-url: ${{ secrets.JOURNAL_GHOST_ADMIN_API_URL }}
api-key: ${{ secrets.JOURNAL_GHOST_ADMIN_API_KEY }}
working-directory: packages/journal
subtree:
name: Subtree
runs-on: ubuntu-latest
needs: test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: nxtlvlsoftware/git-subtree-action@1.1
with:
repo: 'TryGhost/Journal'
path: 'packages/journal'
deploy_key: ${{secrets.JOURNAL_GITHUB_DEPLOY_KEY}}
force: true