Skip to content

Commit db64358

Browse files
committed
Edited workflows/release.yml to fix deployment permissions and remove ignored token.
1 parent 6d66c8a commit db64358

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
tags:
77
- 'v*.*.*'
88

9+
permissions:
10+
contents: write
11+
pages: write
12+
913
jobs:
1014
build:
1115
runs-on: ubuntu-latest
@@ -45,7 +49,7 @@ jobs:
4549
- name: Upload minified xwterm.js
4650
uses: actions/upload-release-asset@v1
4751
env:
48-
GITHUB_TOKEN: ${{ secrets.XWTERM_TOKEN }}
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4953
with:
5054
upload_url: ${{ steps.create_release.outputs.upload_url }}
5155
asset_path: dist/xwterm.min.js
@@ -82,7 +86,6 @@ jobs:
8286
env:
8387
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8488
with:
85-
#github_token: ${{ secrets.XWTERM_TOKEN }}
8689
github_token: ${{ secrets.GITHUB_TOKEN }}
8790
publish_dir: ./docs
8891

0 commit comments

Comments
 (0)