WebDAV Deploy
ActionsTags
(1)Sync your GitHub repository with your store on WooCart.com.
Required The URL of WebDAV server (starting with https://...)
Required The name of the user.
Required The password for the user.
Required Path in GitHub repository to sync.
Required Path on remote to sync into.
Optional The method to use for syncing. Default is sync
.
- Create a
.github/workflows/deploy.yml
file in your GitHub repo, if one doesn't exist already. - Add the following code to the
deploy.yml
file.
name: Deploy By WebDAV
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: 🚗 Get Latest Code
uses: actions/[email protected]
- name: 🤳 Deploy website
uses: XPH0816/[email protected]
with:
url: ${{ secrets.WEBDAV_URL }}
username: ${{ secrets.WEBDAV_USERNAME }}
password: ${{ secrets.WEBDAV_PASSWORD }}
local: "./"
remote: "remote_directory/"
or
name: Deploy By WebDAV
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: 🚗 Get Latest Code
uses: actions/[email protected]
- name: 🤳 Deploy website
uses: XPH0816/[email protected]
with:
url: ${{ secrets.WEBDAV_URL }}
username: ${{ secrets.WEBDAV_USERNAME }}
password: ${{ secrets.WEBDAV_PASSWORD }}
local: "./"
remote: "remote_directory/"
method: "copy"
- Create
WEBDAV_URL
,WEBDAV_USERNAME
,WEBDAV_PASSWORD
secret using GitHub Action's Secret. You can find these values in WooCart > Settings tab for your store.
WebDAV Deploy is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.