Removed release from build for now. Tweaked manual build script. Fixed background color issue on pdf.
All checks were successful
Build Site / Build-Site (18.x) (push) Successful in 38s

This commit is contained in:
Thomas Cole 2023-07-27 11:20:48 -04:00
parent bf469a8170
commit 108df2ab78
3 changed files with 13 additions and 17 deletions

View File

@ -10,7 +10,8 @@ jobs:
steps:
- run: echo "Starting build job"
- uses: actions/checkout@v3
- run: |
- name: Install Dependencies
run: |
apt update
apt install -y libnss3 libx11-xcb1 libxcomposite1 libasound2 libatk1.0-0 libatk-bridge2.0-0 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6
- name: Use Node.js ${{ matrix.node-version }}
@ -19,18 +20,12 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run cibuild
# - name: Upload pdf
# uses: actions/upload-artifact@v3
# with:
# name: PDF
# path: build/resume.pdf
- name: setup go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '>=1.20.1'
- name: Create Release
uses: actions/release-action@main
with:
files: |-
build/*.pdf
# - name: setup go
# uses: https://github.com/actions/setup-go@v4
# with:
# go-version: '>=1.20.1'
# - name: Create Release
# uses: actions/release-action@main
# with:
# files: |-
# build/*.pdf

View File

@ -8,7 +8,7 @@
"validate": "resume validate",
"resume": "resume",
"cibuild": "mkdir -p build && env RESUME_PUPPETEER_NO_SANDBOX=true resume export build/resume.pdf --theme .",
"build": "mkdir -p build && resume export build/resume.pdf --theme . && resume export build/resume.html --theme ."
"build": "mkdir -p build && resume export build/resume.pdf --theme ."
},
"author": "Thomas Cole",
"license": "MIT",

View File

@ -35,6 +35,7 @@ body {
height: 11in;
margin: 0;
padding: 0;
background-color: var(--background);
}
p {