updated docs #28
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: Build and Deploy | |
on: [push] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Deploying Docs via Vuepress | |
uses: jenkey2011/vuepress-deploy@master | |
env: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
TARGET_REPO: stacks-task-manager/docs | |
TARGET_BRANCH: deploy | |
BUILD_SCRIPT: yarn && yarn build | |
BUILD_DIR: docs/.vuepress/dist | |
COMMIT_MESSAGE: Auto deploy by the Vuepress-deploy | |
- name: Checkout Deploy branch | |
uses: actions/checkout@master | |
with: | |
ref: deploy | |
path: deploy | |
- name: Sync files to FTP | |
uses: SamKirkland/FTP-Deploy-Action@v4.3.4 | |
with: | |
server: ${{ secrets.FTPSERVER }} | |
username: ${{ secrets.FTPUSERNAME }} | |
password: ${{ secrets.FTPPASSWORD }} | |
local-dir: "./deploy/" | |
server-dir: "./docs.getstacksapp.com/" |