Skip to content

Commit

Permalink
ci: trying to set a manual-only github actions workflow
Browse files Browse the repository at this point in the history
Refs: #4.
  • Loading branch information
lnoss committed Dec 19, 2023
1 parent e5d7d92 commit 671bc75
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 20 deletions.
33 changes: 13 additions & 20 deletions .github/workflows/submit.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
name: "Generate Release and Publish"
on:
push:
branches:
- main
paths:
- '**/RELEASE'
pull_request:
types: [opened, synchronize]
branches:
- main
paths:
- '**/RELEASE'
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test scenario tags'

jobs:
build:
environment: webstores-publishing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -33,12 +31,7 @@ jobs:
with:
node-version: 20.x
cache: "pnpm"
- name: Build the extension
run: pnpm build
- name: Package the extension into a zip artifact
run: pnpm package
- name: Create GitHub Release
uses: pipe-cd/[email protected]
- name: Browser Platform Publisher
uses: PlasmoHQ/[email protected]
with:
release_file: '**/RELEASE'
token: ${{ secrets.GITHUB_TOKEN }}
keys: ${{ secrets.SUBMIT_KEYS }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ dist/

# editors
.vscode/

stores.keys.json
File renamed without changes.

0 comments on commit 671bc75

Please sign in to comment.