Skip to content

Commit

Permalink
Use dist as the folder to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-matt-hillsdon committed Dec 5, 2023
1 parent c5f3e68 commit 5076582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
cache: 'npm'
registry-url: "https://npm.pkg.github.com"
- run: npm ci
- run: npm install --no-save @microbit-foundation/website-deploy-aws@0.5 @microbit-foundation/[email protected] @microbit-foundation/npm-package-versioner@2
- run: npm install --no-save @microbit-foundation/website-deploy-aws@0.6 @microbit-foundation/[email protected] @microbit-foundation/npm-package-versioner@2
if: github.repository_owner == 'microbit-foundation'
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions deployment.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const { s3Config } = createDeploymentDetailsFromOptions({
});

module.exports = {
deploymentDir: './dist',
...s3Config,
region: 'eu-west-1',
removeNonexistentObjects: true,
Expand Down

0 comments on commit 5076582

Please sign in to comment.