Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change #76

Merged
merged 1 commit into from
Jul 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,21 @@ jobs:
git add . || true
git commit -m "Build update" || true
git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY"
git checkout develop && git merge master
env:
GITHUB_TOKEN: ${{secrets.TAGADABOT_READ_TOKEN}}

- name: Update develop
run: |
git checkout develop
git pull || true
git reset --hard
git pull || true
git merge master
git commit -m "Merge master into develop" || true
git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY"
curl https://bigbrowser.santeacademie.com/update.php
env:
GITHUB_TOKEN: ${{secrets.TAGADABOT_READ_TOKEN}}

- name: Deploy remotely
run: |
curl https://bigbrowser.santeacademie.com/update.php
2 changes: 1 addition & 1 deletion banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const banner = `
// @match https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo/related?hl=fr
// @icon https://assets.website-files.com/5fa997afa489c5171404c70c/60f7e0104650f1a66201de1d_favicon-32.png
// @include http*://*
// ==/UserScript==
// ==/UserScript==
`;

module.exports = banner;