-
-
Save maheshwaghmare/dcdb91932c14244b0a9036d50d3d1cf9 to your computer and use it in GitHub Desktop.
Automatically deploy (/wp-content/ directory) from GitHub to WordPress.com hosted website - See more at https://wp.me/P4Ams0-9ZZ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to WordPress.com | |
on: | |
push: | |
branches: [ wordpress.com ] | |
jobs: | |
FTP-Deploy-Action: | |
name: FTP-Deploy-Action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 2 | |
- name: FTP-Deploy-Action | |
uses: Automattic/FTP-Deploy-Action@3.0.1 | |
with: | |
ftp-server: sftp://sftp.wp.com/htdocs/ | |
ftp-username: ${{ secrets.FTP_USER }} | |
ftp-password: ${{ secrets.FTP_PASSWORD }} | |
known-hosts: "\ | |
sftp.wp.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQAB\ | |
AAABAQDwfT/YEhOKO2Z0+XrjRqUS5Q2Ali6AlhOhZtzlIfMOvm03Sype\ | |
DJH70tlUHasS+nm0SnZ01fOiEeAXa91ZhMihIYUT3nTGuiA2J3uVYsyS\ | |
CJefvhWc0kg1FbEus3V3cVmx4e3XctdkzLbOgPNngypZocbP+8yCpbx6\ | |
Kb9lihmgTjgGn2QzbK1enRSzsN/CbjVhej9jwukbrWqdCrQsKAsoZ2p6\ | |
YCtcKbHS+Yy4RwcO9PxZUBkeMXUrejms027bRcdVfwf55hWSD9xYEHpE\ | |
HupkSL4ofWs3UKeRGz+jCCzl7Nu0S6VSwK4Zzll0auHI0Hwh8WKTJbSn\ | |
1gxCdF93/rmP\ | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment