diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3dbf7e..71232cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,10 @@ name: CI -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: jobs: build: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8f4dfd7..7a94cc8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,12 +9,16 @@ jobs: deploy: runs-on: ubuntu-latest - # Uncomment the following for a standard deployment to Kinsta - # steps: + # Replace this placeholder with the commented steps below for a + # standard deployment to Kinsta + steps: + - name: Deployment not configured + run: echo "Deployment is not configured. Replace this step with the commented Kinsta steps in this file." + # - name: Checkout code - # uses: actions/checkout@v4 + # uses: actions/checkout@v6 # - name: Set up SSH - # uses: webfactory/ssh-agent@v0.9.0 + # uses: webfactory/ssh-agent@v0.10.0 # with: # ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 732b371..361a8ae 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,11 +1,15 @@ name: Check Docker Compose development environment -on: push +on: + push: + branches: + - main + pull_request: jobs: test: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Install Composer dependencies uses: php-actions/composer@v6 diff --git a/.github/workflows/theme.yml b/.github/workflows/theme.yml index ed11e79..22ea61a 100644 --- a/.github/workflows/theme.yml +++ b/.github/workflows/theme.yml @@ -1,6 +1,10 @@ name: Theme build -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: jobs: build: @@ -9,10 +13,10 @@ jobs: run: working-directory: web/app/themes/wordpress-starter-template steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Setup Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version-file: web/app/themes/wordpress-starter-template/.nvmrc cache: npm