Skip to content

Commit

Permalink
migrate from travis to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
nhamlh committed Oct 27, 2022
1 parent 098c814 commit 4613f22
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 85 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build my resume
on:
push:
branches:
- master
jobs:
build_and_release:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: resume.tex
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
name: resume
path: resume.pdf
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
file: resume.pdf
overwrite: true
64 changes: 0 additions & 64 deletions .gitignore

This file was deleted.

20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cv

[![Travis branch](https://img.shields.io/travis/nhamlh/cv.svg)](https://travis-ci.org/nhamlh/cv)
[![Publish](https://github.com/nhamlh/cv/actions/workflows/publish.yaml/badge.svg)](https://github.com/nhamlh/cv/actions/workflows/publish.yaml)

My personal curriculum vitae

Expand Down

0 comments on commit 4613f22

Please sign in to comment.