Skip to content

Commit

Permalink
Streamline deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetersson committed Dec 27, 2024
1 parent 377f9bf commit 3d3e06b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Build release
- name: Install dependencies
run: |
docker compose run --rm wordpress-test sh -c "composer install --no-dev --optimize-autoloader"
./bin/build.sh
sudo apt-get update && sudo apt-get install -y git unzip subversion
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
composer install --no-dev --optimize-autoloader
- name: Build release
run: ./bin/build.sh

- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
Expand Down

0 comments on commit 3d3e06b

Please sign in to comment.