Update Migration Features “next-js-faster-page-speed” #81
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: My Workflow | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Find and Replace | |
uses: nguyenvanuyn96/str-find-and-replace-action@master | |
with: | |
find: '<script type="module">import\*as UdeslyBanner from"https://cdn\.jsdelivr\.net/npm/udesly-ad-banner@0\.0\.4/loader/index\.js";UdeslyBanner\.defineCustomElements\(\),document\.body\.append\(document\.createElement\("udesly-banner"\)\);</script>' | |
replace: "" | |
- name: Find and Replace | |
uses: nguyenvanuyn96/str-find-and-replace-action@master | |
with: | |
find: '<script src="/assets/js/udesly-11ty\.min\.js" async="" defer=""></script>\{\{ settings\.site\.footer_additional_content \}\}<script type="module">import\*as UdeslyBanner from"https://cdn\.jsdelivr\.net/npm/udesly-ad-banner@0\.0\.1/loader/index\.js";UdeslyBanner\.defineCustomElements\(\),document\.body\.append\(document\.createElement\("udesly-banner"\)\);</script>' | |
replace: "" | |
- name: Find and Replace | |
uses: nguyenvanuyn96/str-find-and-replace-action@master | |
with: | |
find: '<script type="module">import\*as UdeslyBanner from"https://cdn\.jsdelivr\.net/npm/udesly-ad-banner@0\.0\.1/loader/index\.js";UdeslyBanner\.defineCustomElements\(\),document\.body\.append\(document\.createElement\("udesly-banner"\)\);</script>' | |
replace: "" | |
- name: Find and Replace | |
uses: nguyenvanuyn96/str-find-and-replace-action@master | |
with: | |
find: '<script src="https://identity\.netlify\.com/v1/netlify-identity-widget\.js"></script>' | |
replace: '<script src="https://identity.netlify.com/v1/netlify-identity-widget.js" async></script>' | |
- name: push | |
uses: actions-x/commit@v6 | |
with: | |
token: ${{ secrets.ACTIONS_TOKEN }} |