Skip to content

Commit

Permalink
fix: fix the permission problem
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthSecond committed Oct 12, 2023
1 parent f5300ea commit a81f825
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: Build & Commit the resume PDF
on: [push]

jobs:
build:
build & commit the resume PDF:
name: Build PDF
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout master
uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

对于本地没有安装 Typst 的使用者,可以通过 Github Actions 实现自动部署。在每一次提交后,Github Actions 会自动运行 Typst 并将生成的 PDF Commit 到根目录中。

> Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
## 使用方式

1. Fork 本项目
Expand Down

0 comments on commit a81f825

Please sign in to comment.