Skip to content

Commit

Permalink
Statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
ggetz committed Sep 19, 2023
1 parent 199267b commit 98e8a81
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 19 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ concurrency:
jobs:
lint:
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: us-east-1
BRANCH: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v3
- name: install node 18
Expand Down Expand Up @@ -37,7 +42,9 @@ jobs:
run: npm run build
- name: coverage (firefox)
run: npm run coverage -- --browsers FirefoxHeadless --webgl-stub --failTaskOnError --suppressPassed
# TODO: Deploy artifacts
- name: deploy coverage artifacts
if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
run: aws s3 sync ./Build/Coverage s3://cesium-dev/cesium/$BRANCH/Build/Coverage --delete --color on
release-tests:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -87,7 +94,7 @@ jobs:
- name: deploy to s3
if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
run: npm run deploy-s3 -- -b "cesium-dev" -d cesium/$BRANCH -c 'no-cache' --confirm
- name:
- name: set status
if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
run: npm run deploy-status -- --status success --message Deployed
node-16:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
run-name: main
on:
workflow_run:
types: [completed]
push: # TODO: workflow_run
branches:
- main
- 'github-actions'
Expand Down
5 changes: 3 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1261,9 +1261,10 @@ async function setStatus(state, targetUrl, description, context) {
}
);

console.log(response.json());
const result = await response.json();
console.log(result);

return response.json();
return result;
}

/**
Expand Down
13 changes: 0 additions & 13 deletions travis/deploy.sh

This file was deleted.

0 comments on commit 98e8a81

Please sign in to comment.