Skip to content

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
fredfalcon committed Mar 7, 2023
1 parent aad412d commit 567f04f
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
name: Releases
name: Publish

on:
on:
push:
tags:
- '*'
- '*'

jobs:

build:
name: Publish webextension
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v2
- uses: ncipollo/release-action@v1
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Build
run: |
npm ci
npm run build
- name: Upload & release
uses: mnao305/chrome-extension-upload@v4.0.1
with:
artifacts: "blt-extension.zip"
bodyFile: "body.md"
file-path: dist/file.zip
extension-id: hogefuga(extension id)
client-id: ${{ secrets.CLIENT_ID }}
client-secret: ${{ secrets.CLIENT_SECRET }}
refresh-token: ${{ secrets.REFRESH_TOKEN }}

0 comments on commit 567f04f

Please sign in to comment.