Skip to content

change(/wiki): i forgor to commit #60

change(/wiki): i forgor to commit

change(/wiki): i forgor to commit #60

Workflow file for this run

name: Voxel.Wiki Site Generation v2
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
name: "Build Site"
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: "Make Dir"
run: mkdir -p public && ls -hal .
- name: "Checkout"
uses: actions/checkout@master
with:
lfs: true
submodules: true
- name: Checkout LFS objects
run: git lfs checkout
- name: "Build"
uses: shalzz/zola-deploy-action@186b5039430ab38781dde8feaf0861bcc017413f
env:
BUILD_DIR: .
BUILD_ONLY: true
OUT_DIR: public
- name: "Fix Perms"
run: sudo chown -R runner:runner public && ls -hal .
- name: "Deploy"
uses: SamKirkland/[email protected]
with:
protocol: ftps
port: 21
local-dir: ./public/
server-dir: ./public_html/
server: ${{ secrets.ftp_hostname }}
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}