Skip to content

Bump ymirapp/wordpress-plugin from 1.20.2 to 1.21.0 #35

Bump ymirapp/wordpress-plugin from 1.20.2 to 1.21.0

Bump ymirapp/wordpress-plugin from 1.20.2 to 1.21.0 #35

name: Dependabot auto-merge
on: pull_request_target
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
deploy:
name: Deploy
needs: dependabot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: '8.0'
- name: Install Ymir CLI
run: composer global require ymirapp/cli
- name: Deploy to production
run: ymir deploy production
env:
YMIR_API_TOKEN: ${{ secrets.YMIR_API_TOKEN }}