close
Skip to content

Commit 7ae7f57

Browse files
committed
Update deploy-vendors.yml
1 parent 08816a8 commit 7ae7f57

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

‎.github/workflows/deploy-vendors.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,21 @@ jobs:
3838

3939
# ── Plugin ─────────────────────────────────────────────────────────────
4040

41+
- name: Install plugin dependencies (bifrost-framework)
42+
working-directory: plugins/bifrost-framework
43+
run: composer install --no-dev --optimize-autoloader --no-interaction
44+
45+
- name: Upload plugin vendor folder
46+
if: ${{ inputs.dry_run != true && hashFiles('plugins/bifrost-framework/vendor/**') != '' }}
47+
uses: Automattic/FTP-Deploy-Action@3.1.2
48+
with:
49+
ftp-server: sftp://sftp.wp.com/htdocs/wp-content/plugins/bifrost-framework/vendor/
50+
ftp-username: ${{ secrets.SFTP_USER }}
51+
ftp-password: ${{ secrets.SFTP_PASSWORD }}
52+
local-dir: plugins/bifrost-framework/vendor/
53+
git-ftp-args: --all
54+
known-hosts: ${{ secrets.SFTP_KNOWN_HOSTS }}
55+
4156
- name: Install plugin dependencies (bifrost-music)
4257
working-directory: plugins/bifrost-music
4358
run: composer install --no-dev --optimize-autoloader --no-interaction

0 commit comments

Comments
 (0)