diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml new file mode 100644 index 00000000..e69de29b diff --git a/.github/workflows/Doxygen.yml b/.github/workflows/Doxygen.yml index 0b1ec959..298fab03 100644 --- a/.github/workflows/Doxygen.yml +++ b/.github/workflows/Doxygen.yml @@ -10,36 +10,19 @@ jobs: Doxygen: runs-on: ubuntu-latest steps: - - name: Configure GPG Key - run: | - echo -n "$PPA_KEY" | base64 --decode | gpg --import - env: - PPA_KEY: ${{ secrets.PPA_KEY }} - name: Checkout Branch uses: actions/checkout@v2-beta # use either @v2-beta or @master. Eventually there will be a @v2 tag. - - name: Prepare docs - run: | - mkdir -p build/docs - name: "Generate Documentation" uses: mattnotmitt/doxygen-action@v1 with: doxyfile-path: "doxygen/doxyfile" - - name: Deploy + - name: Prepare docs run: | cp -r doxygen-out/html/* docs - - - name: commit - continue-on-error: true - run: | - git config --global user.email "tumblegmaer@gmail.com" - git config --global user.name "Github Actions" - git add . - git commit -m "docs update" - git push - exit 0 - - # uses: peaceiris/actions-gh-pages@v3 - # with: - # github_token: ${{ secrets.GITHUB_TOKEN }} - # publish_dir: ./build/docs/html - # enable_jekyll: true + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GH_KEY }} + publish_dir: ./docs + publish_branch: docs + enable_jekyll: true diff --git a/.github/workflows/UnitTests.yml b/.github/workflows/UnitTests.yml index 0f7a3e98..deebcd71 100644 --- a/.github/workflows/UnitTests.yml +++ b/.github/workflows/UnitTests.yml @@ -23,7 +23,7 @@ jobs: - name: Build run: | - github-scripts/debian.sh build + github-scripts/debian.sh builds - name: Package run: | diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index af0a58d2..2d3f6d5f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -10,7 +10,7 @@ # supported CodeQL languages. # name: "Code Quality" -on: [push, pull_request] +on: [push,pull_request] jobs: analyze: name: Analyze @@ -24,10 +24,6 @@ jobs: fail-fast: false matrix: language: ["cpp"] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed - steps: - name: Checkout repository uses: actions/checkout@v2 @@ -36,23 +32,8 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@v1 with: + config-file: ./.github/codeql/codeql-config.yml languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - # - name: Autobuild - # uses: github/codeql-action/autobuild@v1 - - # ℹī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - name: Install Dependencies run: |