Skip to content

Commit 75526a3

Browse files
Merge pull request #166 from technote-space/chore/tweaks
chore: sysnc workflow
2 parents fb669e2 + a96410f commit 75526a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/sync-workflows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
EXECUTE_COMMANDS: |
1919
rm -rdf .github/workflows/.tmp
2020
mkdir -p .github/workflows/.tmp
21-
cp -f .github/workflows/sync-workflows.yml .github/workflows/.tmp/ > /dev/null 2>&1 || :
22-
rm -f .github/workflows/*.yml
2321
git clone --depth=1 https://github.com/technote-space/github-actions-workflows.git .github/workflows/.tmp/workflows
24-
cp .github/workflows/.tmp/workflows/js-repo-pages/*.yml .github/workflows/
25-
cp -f .github/workflows/.tmp/sync-workflows.yml .github/workflows/sync-workflows.yml > /dev/null 2>&1 || :
22+
23+
bash .github/workflows/.tmp/workflows/js-repo/copy.sh release-pages-releases
24+
sed -i 's/cron:.\+$/cron: 0 3 * * 6/' .github/workflows/update-dependencies.yml
2625
sed -i "s/target: \['npm', 'gpr'\]/target: ['npm']/" .github/workflows/release.yml
2726
sed -i "/GH_PAGES_PLUGIN_SCRIPT/d" .github/workflows/release.yml
2827
sed -i "/GH_PAGES_TEMPLATE/d" .github/workflows/release.yml
2928
sed -i "s/GH_PAGES_TITLE:.*$/GH_PAGES_TITLE: jQuery Marker Animation/" .github/workflows/release.yml
29+
3030
rm -rdf .github/workflows/.tmp
3131
COMMIT_MESSAGE: 'chore: sync workflows'
3232
PR_BRANCH_PREFIX: chore/

0 commit comments

Comments
 (0)