Skip to content

Commit

Permalink
md to pdf CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JY8752 committed Dec 4, 2023
1 parent 6efa295 commit 4213434
Show file tree
Hide file tree
Showing 6 changed files with 2,318 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/convert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Convert Markdown to PDF

on:
push:
paths:
- "docs/**/*.md"

jobs:
convert:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Convert Markdown to PDF
run: ls ./docs/*.md | xargs -n 1 npx md-to-pdf

- name: Commit PDF files
run: |
git remote set-url origin https://github-actions:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add .
git commit -m "Update PDF files"
git push --push-option=ci.skip origin $CI_COMMIT_REF_NAME
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@

!/docs/
!/docs/*

!package-lock.json
!package.json

!.github
!.github/workflows
!.github/workflows/**/*
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# shokumukeireki

- 職務経歴書
- [職務経歴書](/docs/syokumu_yamanaka.md)
- 履歴書のテンプレート

3 changes: 3 additions & 0 deletions docs/syokumu_yamanaka.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@

2022/6ごろからQiita、Zennにて技術記事の執筆。個人的に興味のある領域でキャッチアップしたことを主に発信しています。

- [zenn](https://zenn.dev/jy8752)
- [qiita](https://qiita.com/JY8752)

### TypeScriptとCloudflareなどのエッジコンピューティング

Cloudflareのようなエッジ環境でできることが増えてきており、注目を浴びているように感じます。アプリケーションを動かす環境としてAWSやGCPといったクラウド環境だけでなく今後Cloudfrareが選択肢として増えると思っていて個人的に動向が気になっています。
Expand Down

0 comments on commit 4213434

Please sign in to comment.