mirror of
https://github.com/matifali/update-coder-template.git
synced 2024-09-20 06:46:04 +08:00
format README.md
This commit is contained in:
parent
ccc49c4662
commit
d00ad332ed
|
@ -43,15 +43,16 @@ Update coder templates automatically
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Get latest commit hash
|
||||
id: latest_commit
|
||||
run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Get commit title
|
||||
id: commit_title
|
||||
run: echo "title=$(git log -1 --pretty=%s)" >> $GITHUB_OUTPUT
|
||||
|
||||
|
||||
- name: Update Coder Template
|
||||
uses: matifali/update-coder-template@v3
|
||||
with:
|
||||
|
@ -62,7 +63,6 @@ Update coder templates automatically
|
|||
message: ${{ steps.commit_title.outputs.title }}
|
||||
coder_session_token: ${{ secrets.CODER_SESSION_TOKEN }}
|
||||
```
|
||||
|
||||
2. Update a Coder template with a random version name without activating.
|
||||
|
||||
```yaml
|
||||
|
@ -78,7 +78,7 @@ Update coder templates automatically
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Update Coder Template
|
||||
uses: matifali/update-coder-template@v3
|
||||
|
|
Loading…
Reference in a new issue