Skip to content

Update from https://github.com/equetzal/huronOS-build-tools/commit/89… #58

Update from https://github.com/equetzal/huronOS-build-tools/commit/89…

Update from https://github.com/equetzal/huronOS-build-tools/commit/89… #58

name: Deploy Staging
on:
workflow_dispatch:
push:
branches:
- development
permissions:
contents: write
jobs:
deploy:
name: Deploy Staging
runs-on: ubuntu-latest
steps:
- name: 📡 Get latest code
uses: actions/checkout@v3
- name: 🍔 Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: 🦕 Install Docusaurus
run: yarn install --frozen-lockfile
- name: 🛠️ Build website
run: yarn build
- name: 🪁 Deploy
uses: wlixcc/[email protected]
with:
server: ${{ secrets.STAGING_HOST }}
username: ${{ secrets.STAGING_SSH_USERNAME }}
password: ${{ secrets.STAGING_SSH_PASSWORD }}
local_path: './build/*'
remote_path: ${{ secrets.STAGING_DEPLOY_PATH }}
delete_remote_files: true
sftp_only: false