Skip to content

Don't show secline at the top of the page, fix missing metadata, regr… #19

Don't show secline at the top of the page, fix missing metadata, regr…

Don't show secline at the top of the page, fix missing metadata, regr… #19

Workflow file for this run

---
name: CI pipeline
on:
pull_request:
push:
branches: [main]
tags: ['v*.*.*']
workflow_dispatch:
jobs:
pre_commit:
name: pre-commit checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: pre-commit/[email protected]
- uses: pre-commit-ci/[email protected]
if: always()
docker:
needs: pre_commit
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: kadykov/typst-cv:latest
cache-from: type=registry,ref=kadykov/typst-cv:latest
cache-to: type=inline
render:
name: Render and publish CV
needs: docker
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Render with TypstCV
uses: kadykov/typstCV@main
- name: Deploy CV to GitHub pages
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public