Skip to content

Commit

Permalink
Permissions added
Browse files Browse the repository at this point in the history
  • Loading branch information
olibu committed Feb 7, 2023
1 parent 0830e6f commit 95ed3b5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- "main"

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -17,14 +20,13 @@ jobs:
- run: npm ci
- run: npm run build
- name: Update release information in manifest.json
run: echo "`jq '.version="'{{ github.ref }}'"' dist/manifest.json`" > dist/manifest.json
run: echo "`jq '.version="{{ github.ref }}"' dist/manifest.json`" > dist/manifest.json
- name: Create zip
run: zip -r 500NewTabs.zip ./dist

- name: prerelease
uses: marvinpinto/action-automatic-releases@latest
uses: softprops/action-gh-release@v1
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
Expand Down

0 comments on commit 95ed3b5

Please sign in to comment.