Skip to content

Commit

Permalink
Specify folderToDeploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
tealefristoe committed Sep 19, 2024
1 parent cfc93d9 commit 5aacd3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
prefix: storyq
awsAccessKeyId: ${{ secrets.AWS_ACCESS_KEY_ID }}
awsSecretAccessKey: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
folderToDeploy: build
# Parameters to GHActions have to be strings, so a regular yaml array cannot
# be used. Instead the `|` turns the following lines into a string
topBranches: |
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
// "outDir": "./dist/",
"outDir": "./build/",
"outDir": "./dist/",
"sourceMap": true,
"noImplicitAny": true,
"module": "esnext",
Expand Down
3 changes: 1 addition & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ module.exports = (env, argv) => {
entry: './src/index.tsx',
mode: 'development',
output: {
path: path.resolve(__dirname, 'build'),
// path: path.resolve(__dirname, 'dist'),
path: path.resolve(__dirname, 'dist'),
filename: 'assets/index.[contenthash].js',
},
performance: { hints: false },
Expand Down

0 comments on commit 5aacd3b

Please sign in to comment.