From 44ca9a5fd13509852c27c825be45925da1e2c6b5 Mon Sep 17 00:00:00 2001 From: jongwooo Date: Tue, 28 Feb 2023 00:18:12 +0900 Subject: [PATCH 1/3] Replace deprecated command with environment file --- code-scanning/detekt.yml | 2 +- deployments/azure-webapps-php.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code-scanning/detekt.yml b/code-scanning/detekt.yml index a13a517..15aeb45 100644 --- a/code-scanning/detekt.yml +++ b/code-scanning/detekt.yml @@ -77,7 +77,7 @@ jobs: fi DETEKT_DOWNLOAD_URL=$(jq --raw-output '.data.repository.release.releaseAssets.nodes[0].downloadUrl' gh_response.json) - echo "::set-output name=download_url::$DETEKT_DOWNLOAD_URL" + echo "download_url=$DETEKT_DOWNLOAD_URL" >> $GITHUB_OUTPUT # Sets up the detekt cli - name: Setup Detekt diff --git a/deployments/azure-webapps-php.yml b/deployments/azure-webapps-php.yml index 4d08dbd..b3aee8d 100644 --- a/deployments/azure-webapps-php.yml +++ b/deployments/azure-webapps-php.yml @@ -54,7 +54,7 @@ jobs: id: composer-cache if: steps.check_files.outputs.files_exists == 'true' run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Set up dependency caching for faster installs uses: actions/cache@v3 From ed18ec10673b224bf43c4a3fe4c2c291afe95090 Mon Sep 17 00:00:00 2001 From: Tommy Byrd Date: Mon, 13 Mar 2023 22:39:36 -0400 Subject: [PATCH 2/3] Update mdbook.svg Remove embedded style tag --- icons/mdbook.svg | 5 ----- 1 file changed, 5 deletions(-) diff --git a/icons/mdbook.svg b/icons/mdbook.svg index 90e0ea5..c61e0a6 100644 --- a/icons/mdbook.svg +++ b/icons/mdbook.svg @@ -1,9 +1,4 @@ - Date: Tue, 14 Mar 2023 00:04:25 -0500 Subject: [PATCH 3/3] Update mdbook.yml, primarily to update to configure-pages@v3 --- pages/mdbook.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/pages/mdbook.yml b/pages/mdbook.yml index b4f0585..ddff0de 100644 --- a/pages/mdbook.yml +++ b/pages/mdbook.yml @@ -22,34 +22,31 @@ permissions: concurrency: group: "pages" cancel-in-progress: true + jobs: - # This workflow contains a single job called "build" + # Build job build: - env: - MDBOOK_VERSION : 0.4.21 - # The type of runner that the job will run on runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job + env: + MDBOOK_VERSION: 0.4.21 steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - - # Runs a single command using the runners shell - - name: install mdbook + - name: Install mdBook run: | curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh rustup update cargo install --version ${MDBOOK_VERSION} mdbook - name: Setup Pages id: pages - uses: actions/configure-pages@v1 - - name: Build with mdbook + uses: actions/configure-pages@v3 + - name: Build with mdBook run: mdbook build - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: path: ./book + + # Deployment job deploy: environment: name: github-pages