Skip to content

Commit

Permalink
Clean up CI configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
jossemarGT committed Sep 12, 2021
1 parent 9a315f3 commit 3f2d5bd
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 31 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true

[*.{md,y{a,}ml}]
indent_style = space
11 changes: 5 additions & 6 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Generate resume artifacts
---
# .github/workflows/default.yml

name: Generate resume artifacts
on: push

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -35,8 +36,7 @@ jobs:
docs/
release:
needs: build
# TODO: Remove ! before wrapping up
if: ${{ ! contains(github.ref, 'master') }}
if: ${{ contains(github.ref, 'master') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -48,7 +48,6 @@ jobs:
- name: Pre-Release
run: |
./build.sh ci-setup
tree dist
cp dist/docs/index.html docs/index.html
./build.sh ci-gh-page-bump
- name: Publish PDF
Expand All @@ -60,4 +59,4 @@ jobs:
dist/dist/*.pdf
- name: Plubish GH Pages
run: |
git push
./build.sh ci-gh-page-publish
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# jossemarGT résumé

It seems the right word is [résumé](http://english.stackexchange.com/a/61341)
It seems the right word is [résumé](http://english.stackexchange.com/a/61341),
but it can be called CV as well `¯\_(ツ)_/¯`, either case you can read mine in a
plain old markdown fashion [here on github](RESUME.md), download it as PDF
plain old markdown fashion [here on GitHub](RESUME.md), download it as PDF
from the [releases page](https://github.com/jossemarGT/resume/releases/latest)
or even take a look to the more elegant version
or even take a look to the more refined version
[here](http://jossemargt.github.io/resume).

## FAQ

### Why did you write your resume in markdown?

Because is easy to maintain and publish it as plain text on github :octocat:
Because it is easier to maintain and publish it as plain text on GitHub :octocat:

### How did you made it?

Expand All @@ -22,14 +22,14 @@ Because is easy to maintain and publish it as plain text on github :octocat:

### I want to write one like yours, may I fork this repository?

Since this is a public repository you could do it, but taking in account that
it has my information the idea sounds kind of creepy... So, how about using
I would rather suggest using
[tajmone/gh-themes-magick](https://github.com/tajmone/gh-themes-magick)
pandoc ported gh-themes as boilerplate instead? (just like I did).
pandoc ported gh-themes as boilerplate instead, then take it from there.

### Can I haz docz?

Sure thing, these resources helped me out to create everything you see in this repository
Sure thing, these resources helped me out to create everything you see in this
repository

- gh-themes-magick pandoc ports webesite -> <https://tajmone.github.io/gh-themes-magick/>
- Pandoc's manual -> <https://pandoc.org/MANUAL.html>
Expand All @@ -42,5 +42,4 @@ Sure thing, these resources helped me out to create everything you see in this r
- [Dinky](https://github.com/broccolini/dinky) gh-theme by @[broccolini](https://github.com/broccolini)
- [gh-themes-magick](https://github.com/tajmone/gh-themes-magick) pandoc ports by @[tajmone](https://github.com/tajmone)
- [Simple Grid](https://github.com/zachacole/Simple-Grid) css grid by @[zachacole](https://github.com/zachacole)
- [Pandoc 2.0.2 + Alpine](https://hub.docker.com/r/portown/alpine-pandoc/) Docker image by @[portown](https://github.com/portown)
- [Wkthmltopdf 0.12.4-dev + Alpine](https://hub.docker.com/r/madnight/docker-alpine-wkhtmltopdf/) Docker image by @[madnight](https://github.com/madnight)
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ generate_page () {
##
# Bumps last modified date in pandoc template configuration
bump_date () {
# TODO: Bump only if RESUME.md has changed
sed -i "s/date:.*/date: ${BUILD_DATE}/" docs/configuration.yaml
}

Expand Down Expand Up @@ -82,6 +81,9 @@ case "$GOAL" in
ci-gh-page-bump)
git_tag_bump
;;
ci-gh-page-publish)
git_publish
;;
bump-date)
bump_date
;;
Expand Down

0 comments on commit 3f2d5bd

Please sign in to comment.