Skip to content

Commit

Permalink
status v2
Browse files Browse the repository at this point in the history
  • Loading branch information
ggetz committed Sep 19, 2023
1 parent b218b10 commit 63dac42
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ run-name: dev
on:
push:
branches-ignore:
- "cesium.com"
- 'cesium.com'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
run-name: main
on:
workflow_run:
workflows: ["dev"]
types: [completed]
push:
branches:
- main
- 'github-actions'
Expand Down
9 changes: 7 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1219,13 +1219,18 @@ export async function deployStatus() {
const status = argv.status;
const message = argv.message;

const deployUrl = `${devDeployUrl + process.env.GITHUB_REF_NAME}/`;
const deployUrl = `${devDeployUrl + process.env.BRANCH}/`;
const zipUrl = `${deployUrl}Cesium-${version}.zip`;
const npmUrl = `${deployUrl}cesium-${version}.tgz`;
const coverageUrl = `${
devDeployUrl + process.env.GITHUB_REF_NAME
devDeployUrl + process.env.BRANCH
}/Build/Coverage/index.html`;

console.log("deployUrl", deployUrl);
console.log("zipUrl", zipUrl);
console.log("npmUrl", npmUrl);
console.log("coverageUrl", coverageUrl);

return Promise.all([
setStatus(status, deployUrl, message, "deployment"),
setStatus(status, zipUrl, message, "zip file"),
Expand Down

0 comments on commit 63dac42

Please sign in to comment.