From 8f9a6ec8c6d241e6a02da4b21875167410d19b0d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Jan 2023 03:26:08 +0000 Subject: [PATCH 1/5] Bump git from 1.7.0 to 1.13.1 Bumps [git](https://github.com/ruby-git/ruby-git) from 1.7.0 to 1.13.1. - [Release notes](https://github.com/ruby-git/ruby-git/releases) - [Changelog](https://github.com/ruby-git/ruby-git/blob/master/CHANGELOG.md) - [Commits](https://github.com/ruby-git/ruby-git/compare/v1.7.0...v1.13.1) --- updated-dependencies: - dependency-name: git dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 2352b64..29b158e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,8 +6,8 @@ GEM minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - addressable (2.7.0) - public_suffix (>= 2.0.2, < 5.0) + addressable (2.8.1) + public_suffix (>= 2.0.2, < 6.0) ansi (1.5.0) asciidoctor (1.5.6.1) ast (2.4.1) @@ -59,7 +59,8 @@ GEM font-awesome-sass (4.7.0) sass (>= 3.2) formatador (0.2.5) - git (1.7.0) + git (1.13.1) + addressable (~> 2.8) rchardet (~> 1.8) guard (2.16.2) formatador (>= 0.2.4) From a672671854af66bceebfc0a271affecbdf85055c Mon Sep 17 00:00:00 2001 From: TheBurchLog <5104941+TheBurchLog@users.noreply.github.com> Date: Wed, 22 May 2024 10:05:00 -0400 Subject: [PATCH 2/5] dry run newer action --- .github/workflows/deploy.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 90a1f38..8f75bec 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,10 +36,17 @@ jobs: env: NOKOGIRI_USE_SYSTEM_LIBRARIES: true + # - name: Deploy to GitHub Pages + # uses: crazy-max/ghaction-github-pages@v2 + # with: + # target_branch: gh-pages + # build_dir: public + # env: + # GITHUB_TOKEN: ${{ secrets.BUILDBOT_PAGES }} + - name: Deploy to GitHub Pages - uses: crazy-max/ghaction-github-pages@v2 + uses: crazy-max/ghaction-github-pages@v4 with: target_branch: gh-pages build_dir: public - env: - GITHUB_TOKEN: ${{ secrets.BUILDBOT_PAGES }} + dry_run: true From c8eac7ad872ee32e7ab2dabf14780fa24cc70259 Mon Sep 17 00:00:00 2001 From: TheBurchLog <5104941+TheBurchLog@users.noreply.github.com> Date: Wed, 22 May 2024 10:17:42 -0400 Subject: [PATCH 3/5] Github Example Deployment --- .github/workflows/deploy.yml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8f75bec..a0efe26 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,10 @@ jobs: runs-on: ubuntu-latest container: ruby:2.7.2 + environment: + name: github-pages + url: ${{steps.deployment.outputs.page_url}} + name: Build and Deploy Beer-Garden.io steps: - uses: actions/checkout@v2 @@ -36,6 +40,16 @@ jobs: env: NOKOGIRI_USE_SYSTEM_LIBRARIES: true + - name: Upload Artifact + uses: actions/upload-pages-artifact@v2 + with: + # upload entire directory + path: 'public' + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v + # - name: Deploy to GitHub Pages # uses: crazy-max/ghaction-github-pages@v2 # with: @@ -44,9 +58,9 @@ jobs: # env: # GITHUB_TOKEN: ${{ secrets.BUILDBOT_PAGES }} - - name: Deploy to GitHub Pages - uses: crazy-max/ghaction-github-pages@v4 - with: - target_branch: gh-pages - build_dir: public - dry_run: true + # - name: Deploy to GitHub Pages + # uses: crazy-max/ghaction-github-pages@v4 + # with: + # target_branch: gh-pages + # build_dir: public + # dry_run: true From 6d272fce4388db14a14782aea4c2de19c8efe224 Mon Sep 17 00:00:00 2001 From: TheBurchLog <5104941+TheBurchLog@users.noreply.github.com> Date: Wed, 22 May 2024 10:18:24 -0400 Subject: [PATCH 4/5] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a0efe26..ff6a1ce 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -48,7 +48,7 @@ jobs: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v + uses: actions/deploy-pages@v2 # - name: Deploy to GitHub Pages # uses: crazy-max/ghaction-github-pages@v2 From 322e706c12adb9bd6716930e406bd4bb3d3c4b16 Mon Sep 17 00:00:00 2001 From: TheBurchLog <5104941+TheBurchLog@users.noreply.github.com> Date: Wed, 22 May 2024 10:20:22 -0400 Subject: [PATCH 5/5] Add Permissions --- .github/workflows/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ff6a1ce..d0ea76e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,11 @@ jobs: runs-on: ubuntu-latest container: ruby:2.7.2 + permissions: + contents: read + pages: write + id-token: write + environment: name: github-pages url: ${{steps.deployment.outputs.page_url}}