Skip to content

Commit

Permalink
Add image size for 200 px
Browse files Browse the repository at this point in the history
  • Loading branch information
eerison committed Jul 22, 2023
1 parent 769571a commit c170251
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/resume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,15 @@ jobs:
run: |
python3 -m http.server --directory dist &> /dev/null &
pid=$!
sleep 2
sleep 1
npm run node:generate:pdf
npm run node:generate:card
kill "${pid}"
- name: Upload resume to bucket
run: npm run cloud:bucket:object put -- --file=data/pdf/resume.pdf myprofile/users/${{github.actor}}/resume.pdf
run: |
npm run cloud:bucket:object put -- --file=data/files/resume-default.pdf myprofile/users/${{github.actor}}/resume-default.pdf
npm run cloud:bucket:object put -- --file=data/files/user-card-default.pdf myprofile/users/${{github.actor}}/user-card-default.pdf
env:
CLOUDFLARE_ACCOUNT_ID: ${{secrets.CLOUDFLARE_ACCOUNT_ID}}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion data/log/.gitignore

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions src/style/user-card-default/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ body {
#profile-image {
img {
border-radius: 100%;
width: 200px;
}
}
}
Expand Down
File renamed without changes.
9 changes: 8 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import { resolve } from "path";
import { defineConfig } from "vite";

// https://vitejs.dev/config/
export default defineConfig({
base: "./",
assetsInclude: ['**/*.md'],
build: {
target: 'esnext'
target: 'esnext',
rollupOptions: {
input: {
main: resolve(__dirname, 'resume-default.html'),
user_card: resolve(__dirname, 'user-card-default.html'),
},
},
}
});

0 comments on commit c170251

Please sign in to comment.