We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cae5de2 commit 900a275Copy full SHA for 900a275
.github/workflows/ci.yml
@@ -12,6 +12,7 @@ jobs:
12
uses: actions/checkout@v2
13
with:
14
submodules: true
15
+ persist-credentials: true # Ensures credentials are available for pushing changes
16
17
- name: Set up Node.js
18
uses: actions/setup-node@v2
@@ -35,4 +36,13 @@ jobs:
35
36
mkdir -p ../../dist/plugins/"$d"
37
mv .millennium ../../dist/plugins/"$d".millennium || echo "Failed to move $d to dist/plugins"
38
cd ..
- done
39
+ done
40
+
41
+ - name: Commit and push changes
42
+ run: |
43
+ git config --global user.name "GitHub Actions"
44
+ git config --global user.email "[email protected]"
45
+ cd dist
46
+ git add .
47
+ git commit -m "Update built plugins"
48
+ git push origin HEAD || echo "No changes to push"
0 commit comments