From 5a15252e6651916540854aa28ff6e40049bc4ba6 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Tue, 1 Dec 2020 08:48:41 +0530 Subject: [PATCH] Fix docs workflow --- .github/workflows/docs.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2ff3a832..1f9ce17f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,8 +1,8 @@ name: Docs workflow on: - repository_dispatch: + workflow_dispatch: schedule: - - cron: '0 0 * * 2' + - cron: '0 15 * * 2' jobs: create: name: Create @@ -35,7 +35,7 @@ jobs: version: ${{ matrix.php-versions }} if: matrix.operating-system == 'windows-2019' run: | - Write-Output "## PHP $version`n" | Out-File -FilePath "$env:file" + Write-Output "## PHP ${{ matrix.php-versions }}`n" | Out-File -FilePath "$env:file" Write-Output "``````" | Out-File -FilePath "$env:file" -Append php -m | Out-File -FilePath "$env:file" -Append Write-Output "```````n" | Out-File -FilePath "$env:file" -Append @@ -60,9 +60,9 @@ jobs: git config --local user.email "${{ secrets.email }}" git config --local user.name "${{ github.repository_owner }}" for os in ubuntu-20.04 ubuntu-18.04 ubuntu-16.04 windows-2019 macos-10.15 macos-11.0; do - echo "# PHP Extensions on $os" > Php-extensions-on-"$os".md + echo "These are extensions which are loaded by default on the following PHP versions. More extensions which are available as packages and available on pecl are supported by setup-php. Refer to [php extension support](https://github.com/shivammathur/setup-php#heavy_plus_sign-php-extension-support) for more details." > Php-extensions-loaded-on-"$os".md for version in 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1; do - cat lists/php"$version"-"$os".md >> Php-extensions-on-"$os".md + cat lists/php"$version"-"$os".md >> Php-extensions-loaded-on-"$os".md done done rm -rf ./lists