Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrischa authored Dec 16, 2024
1 parent 7bee8f8 commit 03e9bb6
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Use Bookmarklet Generator
name: Test Bookmarklet Generator

on:
push:
Expand All @@ -8,15 +8,24 @@ on:
- 'raw.js'

jobs:
generate-bookmarklet:
bookmarklet-job:
runs-on: ubuntu-latest

steps:
- name: Use Bookmarklet Generator
- name: Checkout repository
uses: actions/checkout@v4

- name: Use Bookmarklet Generator Action
uses: ulrischa/js_to_bookmarklet_action@v1
with:
source_js_file: 'raw.js'
target_html_file: 'index.htm'
target_element_id: 'target'
commit_message: 'Update bookmarklet link'

- name: Debug Files and Environment
run: |
ls -la .
cat raw.js
cat index.htm
shell: bash

0 comments on commit 03e9bb6

Please sign in to comment.