docker - 使用 github-action 和 docker-hub 生成乳胶简历参考书目
问题描述
我正在尝试配置 github 操作以在每次推送时使用Awesome-CV生成我的乳胶简历女仆。
特殊之处在于有一些参考书目和一些特定的字体。
所以我想使用一个已经设置好字体的docker 容器。我希望将 PDF 存储在我的 github 存储库中。
我试过这个
name: Build LaTeX document
on: [push]
jobs:
runMultipleCommands:
runs-on: ubuntu-latest #it run on a virtual machin
container:
image: rekentuig/awesome-cv # use this container
steps:
- uses: actions/checkout@v2 # clone the repo in the virtual machine
- name: Compile LaTeX documents
# run in the container the 3 latex com. line to compile
- run: docker run -v `pwd`:/src awesome-cv /bin/bash -c "cd /src; xelatex cv; biber cv; xelatex cv"
但它不起作用
.github/workflows/latexcv.yml : .github#L1
every step must define a `uses` or `run` key
解决方案
推荐阅读
- java - collection.add(()->7); 中 ()-> 的功能是什么?
- dialogflow-es - 在 java 中使用服务帐户凭据(.json 文件)创建/更新 Dialogeflow 代理
- rabbitmq - RabbitMQ 支持 LIFO 或基于时间的优先级队列
- php - 如何通过mysql语句从文件夹中删除图像
- python - 我如何使用 IBM Watson 翻译文档功能将翻译后的文件实际获取到我的计算机上
- fusionauth - FusionAuth 设置向导问题
- circleci - 在 CircleCI 中为不同环境设置环境变量
- redis - redis-sentinel 支持会结束吗?
- postgresql - 社交网络的架构设计建议
- ios - 从 Firebase 检索数据需要很长时间