Skip to content

Merge pull request #27 from aiden2480/replit-refactor #43

Merge pull request #27 from aiden2480/replit-refactor

Merge pull request #27 from aiden2480/replit-refactor #43

name: Publish to chrome webstore
on:
push:
branches:
- main
paths:
- manifest.json
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
name: Publish to chrome webstore
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9.1
- name: Install dependencies
run: pip install requests packaging
- name: Run uploader file
run: python .github/workflows/webstore.py --event ${{ github.event_name }}
env:
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}