diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 40394a96..3dd8d677 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -8,21 +8,21 @@ jobs: Fuzzing: runs-on: ubuntu-latest steps: - - name: Build Fuzzers + - name: Build fuzzers id: build uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@061583ebb5a96653e42feb3a97ee513eedc18078 # master with: oss-fuzz-project-name: 'fmt' dry-run: false language: c++ - - name: Run Fuzzers + - name: Run fuzzers uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@061583ebb5a96653e42feb3a97ee513eedc18078 # master with: oss-fuzz-project-name: 'fmt' fuzz-seconds: 300 dry-run: false language: c++ - - name: Upload Crash + - name: Upload crash uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 if: failure() && steps.build.outcome == 'success' with: diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 06705bcb..5be9190b 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - - name: Add ubuntu mirrors + - name: Add Ubuntu mirrors run: | # Github Actions caching proxy is at times unreliable # see https://github.com/actions/runner-images/issues/7048 @@ -21,7 +21,7 @@ jobs: curl http://mirrors.ubuntu.com/mirrors.txt | sudo tee --append /etc/apt/mirrors.txt sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' /etc/apt/sources.list - - name: Create Build Environment + - name: Create build environment run: | sudo apt update sudo apt install doxygen @@ -34,4 +34,4 @@ jobs: KEY: ${{secrets.KEY}} run: | cmake $GITHUB_WORKSPACE - $GITHUB_WORKSPACE/support/mkdocs deploy dev -p + $GITHUB_WORKSPACE/support/mkdocs deploy dev diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 331cbd00..5b4e213a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -77,7 +77,7 @@ jobs: sudo apt-add-repository ppa:ubuntu-toolchain-r/test if: ${{ matrix.cxx == 'g++-11' }} - - name: Add ubuntu mirrors + - name: Add Ubuntu mirrors run: | # Github Actions caching proxy is at times unreliable # see https://github.com/actions/runner-images/issues/7048 diff --git a/support/mkdocs b/support/mkdocs index 746aaf32..73c18ea7 100755 --- a/support/mkdocs +++ b/support/mkdocs @@ -20,14 +20,17 @@ args = sys.argv[1:] if len(args) > 0: command = args[0] if command == 'deploy': + site_repo = 'git@github.com:fmtlib/fmt.dev.git' + if 'CI' in os.environ: + site_repo = 'https://github.com/fmtlib/fmt.dev.git' + site_dir = os. path.join(build_dir, 'fmt.dev') try: shutil.rmtree(site_dir) except OSError as e: if e.errno == errno.ENOENT: pass - ret = call(['git', 'clone', '--depth=1', - 'git@github.com:fmtlib/fmt.dev.git', site_dir]) + ret = call(['git', 'clone', '--depth=1', site_repo, site_dir]) if ret != 0: sys.exit(ret)