Skip to content

Commit e8175a9

Browse files
committed
chore: update workflows config.
1 parent ae90c78 commit e8175a9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
1414
node-version: 16
15+
registry-url: 'https://registry.npmjs.org'
1516

1617
- run: npm install
1718
- run: npm run build
@@ -31,13 +32,13 @@ jobs:
3132

3233
- name: Create Tag
3334
id: create_tag
34-
uses: jaywcjlove/create-tag-action@v1.3.6
35+
uses: jaywcjlove/create-tag-action@main
3536
with:
3637
package-path: ./package.json
3738

3839
- name: get tag version
3940
id: tag_version
40-
uses: jaywcjlove/changelog-generator@v1.5.3
41+
uses: jaywcjlove/changelog-generator@main
4142

4243
- name: Deploy Website
4344
uses: peaceiris/actions-gh-pages@v3
@@ -50,7 +51,7 @@ jobs:
5051

5152
- name: Generate Changelog
5253
id: changelog
53-
uses: jaywcjlove/changelog-generator@v1.5.3
54+
uses: jaywcjlove/changelog-generator@main
5455
with:
5556
token: ${{ secrets.GITHUB_TOKEN }}
5657
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
@@ -64,7 +65,7 @@ jobs:
6465
name: ${{ steps.create_tag.outputs.version }}
6566
tag: ${{ steps.create_tag.outputs.version }}
6667
body: |
67-
Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/vim-web/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
68+
Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/docker-tutorial/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
6869
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
6970
7071
${{ steps.changelog.outputs.changelog }}

0 commit comments

Comments
 (0)