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:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'MinecraftClient'
|
||||
- 'MinecraftClient.sln'
|
||||
- 'ConsoleInteractive'
|
||||
|
||||
env:
|
||||
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:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**/__tests__/**'
|
||||
workflow_dispatch:
|
||||
- master
|
||||
paths:
|
||||
- 'docs'
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !contains(github.event.head_commit.message, 'SKIP_DEPLOY') }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -404,3 +404,4 @@ FodyWeavers.xsd
|
|||
|
||||
# docs
|
||||
!/docs/.vuepress
|
||||
/docs/.vuepress/dist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue