Create bcb_demo_deploy.yml
This commit is contained in:
parent
148b05b939
commit
d2bdb0f6f3
1 changed files with 28 additions and 0 deletions
28
.github/workflows/bcb_demo_deploy.yml
vendored
Normal file
28
.github/workflows/bcb_demo_deploy.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: CI
|
||||
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the trunk branch
|
||||
push:
|
||||
branches: [ make/blank-canvas-blocks ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: FTP-Deploy-Action
|
||||
uses: SamKirkland/FTP-Deploy-Action@3.1.1
|
||||
with:
|
||||
ftp-server: sftp.pressable.com
|
||||
ftp-username: ${{ secrets.BCB_DEMO_USERNAME }}
|
||||
ftp-password: ${{ secrets.BCB_DEMO_PASSWORD }}
|
||||
port: 22
|
||||
local-dir: ./blank-canvas-blocks
|
||||
server-dir: /htdocs/wp-content/themes/blank-canvas-blocks
|
Loading…
Reference in a new issue