diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/build-deploy.yml similarity index 63% rename from .github/workflows/mkdocs.yml rename to .github/workflows/build-deploy.yml index fb10bd5..2a52bcb 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/build-deploy.yml @@ -1,14 +1,29 @@ -name: mkdocs +name: Build and Deploy docs on: push: - branches: - - master + branches: [ "master" ] + pull_request: + branches: [ "master" ] permissions: contents: write jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: dependencies + run: sudo apt-get update && sudo apt-get install gcc-mingw-w64 make + - name: make + run: make + - name: artifact + uses: actions/upload-artifact@v3 + with: + name: bridge + path: build + deploy: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml deleted file mode 100644 index 567ac46..0000000 --- a/.github/workflows/c-cpp.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: C/C++ CI - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: dependencies - run: sudo apt-get update && sudo apt-get install gcc-mingw-w64 make - - name: make - run: make - - name: artifact - uses: actions/upload-artifact@v3 - with: - name: bridge - path: build