Skip to content

Commit

Permalink
Fix websiteRelease
Browse files Browse the repository at this point in the history
  • Loading branch information
ggetz committed Nov 1, 2023
1 parent 04e8945 commit 0e3d9e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install node 18
- name: install node 20
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'
- name: npm install
run: npm install
- name: lint *.js
Expand All @@ -22,9 +22,6 @@ jobs:
run: npm run prettier-check
deploy:
runs-on: ubuntu-latest
permissions:
statuses: write
contents: read
env:
PROD: true
AWS_ACCESS_KEY_ID: ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
Expand All @@ -36,10 +33,10 @@ jobs:
GITHUB_SHA: ${{ github.sha }}
steps:
- uses: actions/checkout@v3
- name: install node 18
- name: install node 20
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'
- name: npm install
run: npm install
- name: build website release
Expand All @@ -48,7 +45,4 @@ jobs:
run: npm run build-apps
- name: deploy to cesium.com
if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
run: npm run deploy-s3 -- -b "cesium.com-next" -c 'public, max-age=1800'--skip --confirm
- name: set status
if: ${{ env.AWS_ACCESS_KEY_ID != '' }}
run: npm run deploy-status -- --status success --message Deployed
run: npm run deploy-s3 -- -b "cesium.com-next" -c 'public, max-age=1800'--skip --confirm
2 changes: 2 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ function combineForSandcastle() {
}

export const websiteRelease = gulp.series(
buildEngine,
buildWidgets,
function () {
return buildCesium({
development: false,
Expand Down

0 comments on commit 0e3d9e6

Please sign in to comment.