Skip to content

Commit

Permalink
fix: install teal.slice package with the fix fpr stable deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Nov 28, 2023
1 parent e047033 commit f0e4b5a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- main
- dev
- test_teal_slice_version@main
workflow_dispatch:
schedule:
- cron: "12 3 * * *"
Expand Down Expand Up @@ -100,7 +101,12 @@ jobs:
pkg_name_structure <- ifelse("${{ matrix.channel }}" == "stable", "%s/%s@*release", "%s/%s")
for (package in lockfile$Packages) {
if (package$Source == "GitHub") {
renv::record(sprintf(pkg_name_structure, package$RemoteUsername, package$Package))
# TODO: After teal.slice is released we have to remove this change. This workaround is because update to {bslib} breaks current release of teal.slice
if (package$Package == "teal.slice") {
renv::record("insightsengineering/teal.slice@103491c67e26a9a85d636bd105a806904a0111ec")
} else {
renv::record(sprintf(pkg_name_structure, package$RemoteUsername, package$Package))
}
}
}
Expand Down

0 comments on commit f0e4b5a

Please sign in to comment.