Skip to content

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

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

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

Workflow file for this run

name: Ruby
on:
pull_request:
push:
branches:
- main
- 'renovate/*'
paths:
- 'packages/ruby/**'
- '.github/workflows/ruby.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 ruby
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.RUBY_GHOST_ADMIN_API_URL }}
api-key: ${{ secrets.RUBY_GHOST_ADMIN_API_KEY }}
working-directory: packages/ruby
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/Ruby'
path: 'packages/ruby'
deploy_key: ${{secrets.RUBY_GITHUB_DEPLOY_KEY}}
force: true