chore(deps): update dependency gulp-zip to v6 #1001
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: 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/[email protected] | |
with: | |
repo: 'TryGhost/Ruby' | |
path: 'packages/ruby' | |
deploy_key: ${{secrets.RUBY_GITHUB_DEPLOY_KEY}} | |
force: true |