Create bcb_demo_deploy.yml

This commit is contained in:
Jason Crist 2021-03-09 10:15:34 -05:00 committed by GitHub
parent 148b05b939
commit d2bdb0f6f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

28
.github/workflows/bcb_demo_deploy.yml vendored Normal file
View 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