Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify checkout #52

Merged
merged 1 commit into from
Jan 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 21 additions & 23 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,33 @@ jobs:
name: Build resume
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: master
- name: Install latex and fonts
run: sudo apt-get install texlive-xetex fonts-arphic-gbsn00lp fonts-wqy-zenhei fonts-arphic-gkai00mp latex-cjk-all
- name: Compile English resume
run: xelatex -file-line-error -interaction=nonstopmode -recorder lucas-kjaero-zhang-resume.tex
working-directory: resume
- name: Compile Chinese resume
run: xelatex -file-line-error -interaction=nonstopmode -recorder lucas-kjaero-zhang-个人简历.tex
working-directory: resume
- uses: actions/upload-artifact@master
with:
name: lucas-kjaero-zhang-resume.pdf
path: resume/lucas-kjaero-zhang-resume.pdf
- uses: actions/upload-artifact@master
with:
name: lucas-kjaero-zhang-个人简历.pdf
path: resume/lucas-kjaero-zhang-个人简历.pdf
- uses: actions/checkout@master
with:
ref: master
- name: Install latex and fonts
run: sudo apt-get install texlive-xetex fonts-arphic-gbsn00lp fonts-wqy-zenhei fonts-arphic-gkai00mp latex-cjk-all
- name: Compile English resume
run: xelatex -file-line-error -interaction=nonstopmode -recorder lucas-kjaero-zhang-resume.tex
working-directory: resume
- name: Compile Chinese resume
run: xelatex -file-line-error -interaction=nonstopmode -recorder lucas-kjaero-zhang-个人简历.tex
working-directory: resume
- uses: actions/upload-artifact@master
with:
name: lucas-kjaero-zhang-resume.pdf
path: resume/lucas-kjaero-zhang-resume.pdf
- uses: actions/upload-artifact@master
with:
name: lucas-kjaero-zhang-个人简历.pdf
path: resume/lucas-kjaero-zhang-个人简历.pdf

build-frontend:
name: Build frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: master
- uses: actions/setup-node@v1
name: Install node
with:
Expand All @@ -55,7 +57,6 @@ jobs:
needs: [build-resume, build-frontend]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/download-artifact@master
with:
name: gatsby-public
Expand Down Expand Up @@ -84,9 +85,6 @@ jobs:
needs: [build-resume, build-frontend]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: master
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
Expand Down