Skip to content

Commit

Permalink
Update actions/deploy-pages action to v3 (#166)
Browse files Browse the repository at this point in the history
* chore(deps): update actions/deploy-pages action to v3

| datasource  | package              | from | to |
| ----------- | -------------------- | ---- | -- |
| github-tags | actions/deploy-pages | v2   | v3 |

* fix: fix build error in service

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Calvin Wilkinson <85414302+CalvinWilkinson@users.noreply.github.com>
Co-authored-by: Calvin Wilkinson <kinsondigital@gmail.com>
  • Loading branch information
3 people authored Dec 5, 2023
1 parent 93272ef commit f1ee870
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/cicd/core/services/VersionSidebarService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class VersionSideBarService {
// If the version begins with a 'v', remove it
version = version.startsWith("v") ? version.replace("v", "") : version;

const sidebarDirPath = foundDirs[0]
const sidebarFilePath = `${sidebarDirPath}/version-${version}-sidebars.json`;

if (existsSync(sidebarFilePath, { isDirectory: true, isReadable: true })) {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
if: ${{ inputs.dry-run == false }}
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v3

- name: Commit New Docs & Create Release Tag (${{ steps.apply_version_to_site.outputs.version }})
if: ${{ inputs.dry-run == false }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
if: ${{ inputs.dry-run == false }}
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v3

- name: Create Release Tag (${{ steps.apply_version_to_site.outputs.version }})
if: ${{ inputs.dry-run == false }}
Expand Down

0 comments on commit f1ee870

Please sign in to comment.