Skip to content

Commit

Permalink
Trying again
Browse files Browse the repository at this point in the history
  • Loading branch information
lkmccr20 committed Apr 16, 2024
1 parent 176b970 commit 1a4db6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .actions/sheet-http/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32397,20 +32397,21 @@ const getSettings = () => {
// Env vars are a mess in the way we have github actions.
// Going to just use the branch as our test.
let branch = github.context.ref.replace("refs/heads/", "");
let repo = github.context.repo.repo;
let retval = {};
if (["staging", "feature/CSC-2163"].includes(branch)) {
retval = {
apiKey: process.env["STAGING_API_KEY"],
sheetHttpUrl: "https://sheet-http.staging.roll20preflight.net",
repoName: "roll20-private-sheets",
repoName: repo,
simulate: true,
};
}
else if (["master"].includes(branch)) {
retval = {
apiKey: process.env["PRODUCTION_API_KEY"],
sheetHttpUrl: "https://sheet-http.production.roll20preflight.net",
repoName: "roll20-private-sheets",
repoName: repo,
simulate: false,
};
}
Expand Down
2 changes: 1 addition & 1 deletion Tri-Stat/sheet.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"authors": "John W.",
"roll20userid": "492849",
"preview": "Tri-Stat.png",
"instructions": "For use with Tri-Stat, and supports all die sizes from d4 to d20..",
"instructions": "For use with Tri-Stat, and supports all die sizes from d4 to d20.",
"legacy": true
}

0 comments on commit 1a4db6a

Please sign in to comment.