Skip to content

Commit

Permalink
feat: ignore files again and use git releases for absolute/static links
Browse files Browse the repository at this point in the history
  • Loading branch information
iwaduarte committed Apr 16, 2023
1 parent 9ad2b13 commit 1e84c2e
Show file tree
Hide file tree
Showing 25 changed files with 23 additions and 181 deletions.
31 changes: 19 additions & 12 deletions .github/workflows/chrome.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Deploy to Chrome Web Store

name: Create extension for download
on:
push:
branches:
- skipped
- main

jobs:
deploy:
build:
runs-on: ubuntu-latest

steps:
Expand All @@ -21,14 +20,22 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Build extension
- name: Build
run: npm run build

- name: Deploy to Chrome Web Store
uses: GoogleChromeLabs/chrome-webstore-upload-cli@v1
- name: Zip 'dist' folder
run: zip -r dist.zip dist

- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
extension-id: YOUR_EXTENSION_ID
client-id: ${{ secrets.CLIENT_ID }}
client-secret: ${{ secrets.CLIENT_SECRET }}
refresh-token: ${{ secrets.REFRESH_TOKEN }}
zip: dist
tag_name: latest
release_name: Latest Release
body: Automatic release generated by GitHub Actions
draft: false
prerelease: false
files: |
dist.zip
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ Form-Filler is a powerful browser extension designed to make your life easier by
### Google Chrome and other Chromium-based browsers 🌐
Since Form-Filler does not support Manifest V3, you can install the extension manually by following these steps:

1. Download the **dist** folder from the repository (open link on a new tab) [here](https://download-directory.github.io/?url=https%3A%2F%2Fgithub.com%2Fiwaduarte%2Fform-filler%2Ftree%2Fmain%2Fdist)
1. Download the **dist** folder from the repository (open link on a new tab) [here](https://github.com/iwaduarte/form-filler/releases/latest/download/dist.zip)
2. Unzip the downloaded file.
3. Open Google Chrome or another Chromium-based browser.
4. Navigate to **chrome://extensions** in your browser.
5. Enable **"Developer mode"** by toggling the switch in the top-right corner.
6. Click in **Load unpacked** and select the dist folder.
7. Confirm the installation by clicking on "Add extension" in the prompt.
6. Click in **Load unpacked** and select the dist folder unpacked on step 1.


### Firefox 🦊
Form-Filler is also available for Firefox users. You can install it through the following link:
Expand Down
13 changes: 0 additions & 13 deletions dist/assets/arrow.aa76a0c0.svg

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/background.07584f52.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/cacheData.cec2e34a.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/file.38dddfa9.js

This file was deleted.

Binary file removed dist/assets/form-filler.2fbd8fba.png
Binary file not shown.
1 change: 0 additions & 1 deletion dist/assets/form-filler.9e46504d.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/index.2365925e.css

This file was deleted.

Loading

0 comments on commit 1e84c2e

Please sign in to comment.