Skip to content

Commit

Permalink
udpating tooling again
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronkruse committed Dec 19, 2023
1 parent b51e32c commit 6b9c3f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
node-version: '18'
- name: Build
working-directory: cafo-explorer
working-directory: .
run: |
npm install && npm run build-staging
- name: Configure AWS
Expand All @@ -25,7 +25,7 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Copy to S3
working-directory: cafo-explorer
working-directory: .
run: |
aws s3 sync dist s3://stories2.theplotline.org/cafo-explorer/ --delete
- name: Clear Cloudfront cache
Expand Down
16 changes: 8 additions & 8 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "vite";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
],
base: "/cafo-explorer/",
plugins: [],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
});

0 comments on commit 6b9c3f6

Please sign in to comment.