mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* updated clang CI * gcc on mac is also outdated, update in general to 11 * disable gcc on mac due to linker crash * updated ci action versions since it will fail in the future (eg node version) * remove vim swp file
35 lines
822 B
YAML
35 lines
822 B
YAML
name: WebDocSync
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- docs/docs.polserver.com/**
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
config:
|
|
- os: "ubuntu-latest"
|
|
|
|
runs-on: ${{ matrix.config.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Generate OfflineDocs
|
|
run: |
|
|
cd docs/docs.polserver.com/pol100
|
|
mkdir archives
|
|
php -f buildoffline.php
|
|
rm -rf offline
|
|
- name: FTP Deploy
|
|
uses: SamKirkland/FTP-Deploy-Action@4.3.2
|
|
with:
|
|
server: ${{ secrets.DOCS_FTP }}
|
|
protocol: ftps
|
|
username: ${{ secrets.DOCS_FTP_USER }}
|
|
password: ${{ secrets.DOCS_FTP_PASSWORD }}
|
|
local-dir: docs/docs.polserver.com/pol100/
|
|
server-dir: pol100/
|