Skip to content

Personal Deploy

Personal Deploy #209

Workflow file for this run

name: Personal Deploy
on:
workflow_dispatch:
inputs:
luadevenv:
description: 'Lua Dev Enviroment name'
required: true
jobs:
deploy:
name: Live Wikis Personal
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: younited/[email protected]
id: forkpoint
- id: changed-files
uses: tj-actions/changed-files@v45
with:
base_sha: ${{ steps.forkpoint.outputs.fork_point_sha }}
files: |
components/**/*.lua
standard/**/*.lua
- name: Personal Lua Deploy
if: steps.changed-files.outputs.any_changed == 'true'
env:
WIKI_USER: ${{ secrets.LP_BOTUSER }}
WIKI_PASSWORD: ${{ secrets.LP_BOTPASSWORD }}
WIKI_UA_EMAIL: ${{ secrets.LP_UA_EMAIL }}
WIKI_BASE_URL: ${{ secrets.LP_BASE_URL }}
LUA_DEV_ENV_NAME: "/dev/${{ github.event.inputs.luadevenv }}"
run: bash scripts/deploy.sh "${{ steps.changed-files.outputs.all_changed_files }}"