mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Triggers a build only when the associated file changes.
This commit is contained in:
parent
2c52b150e8
commit
06d519add4
3 changed files with 12 additions and 6 deletions
7
.github/workflows/build-and-release.yml
vendored
7
.github/workflows/build-and-release.yml
vendored
|
|
@ -2,7 +2,12 @@ name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- 'MinecraftClient'
|
||||||
|
- 'MinecraftClient.sln'
|
||||||
|
- 'ConsoleInteractive'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PROJECT: "MinecraftClient"
|
PROJECT: "MinecraftClient"
|
||||||
|
|
|
||||||
10
.github/workflows/vuepress-deploy.yml
vendored
10
.github/workflows/vuepress-deploy.yml
vendored
|
|
@ -1,16 +1,16 @@
|
||||||
name: docs
|
name: Deploy Document
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
paths-ignore:
|
paths:
|
||||||
- '**/__tests__/**'
|
- 'docs'
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ !contains(github.event.head_commit.message, 'SKIP_DEPLOY') }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -404,3 +404,4 @@ FodyWeavers.xsd
|
||||||
|
|
||||||
# docs
|
# docs
|
||||||
!/docs/.vuepress
|
!/docs/.vuepress
|
||||||
|
/docs/.vuepress/dist
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue