Skip to content

Commit

Permalink
Update deploy-to-wp-org.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Jan 14, 2024
1 parent 8163223 commit 6cc50a7
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/deploy-to-wp-org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Composer caching
- name: Install dependencies with caching
uses: ramsey/composer-install@v2
with:
composer-options: "--no-dev --optimize-autoloader --classmap-authoritative"

- name: Install dependencies in prod version
- name: Install packages
run: |
composer config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
composer install --no-dev
corepack enable
yarn set version stable
yarn
yarn run prod
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
yarn prod
- name: WordPress Plugin Deploy
id: deploy
Expand Down

0 comments on commit 6cc50a7

Please sign in to comment.