Personal Deploy #209
Workflow file for this run
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: 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 }}" |