Skip to content

Commit 83520b3

Browse files
committed
Revert "revert"
This reverts commit d223b29.
1 parent 6ff4856 commit 83520b3

File tree

1 file changed

+7
-37
lines changed

1 file changed

+7
-37
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and Push
33
on:
44
push:
55
branches:
6-
- develop
6+
- develop-builds
77

88
permissions:
99
contents: write
@@ -40,40 +40,10 @@ jobs:
4040
- name: Install Dependencies and Build
4141
run: npm ci
4242

43-
- name: Setup Pages
44-
uses: actions/configure-pages@v5
45-
- name: Upload artifact
46-
uses: actions/upload-pages-artifact@v3
47-
with:
48-
path: './'
49-
- name: Deploy to GitHub Pages
50-
uses: actions/deploy-pages@v4
51-
52-
- name: Checkout to develop-builds
53-
uses: actions/checkout@v3
54-
with:
55-
ref: develop-builds
56-
57-
- name: Clear out things
58-
run: |
59-
rm -rf ./*
60-
61-
- name: Download artifact
62-
uses: actions/download-artifact@v4
63-
with:
64-
name: github-pages
65-
path: './'
66-
67-
- name: Extract artifact
43+
- name: Commit and Push Build
6844
run: |
69-
tar -xf artifact.tar -C .
70-
rm -f artifact.tar
71-
rm -f .gitignore
72-
rm -rf node_modules
73-
74-
- name: Commit
75-
uses: EndBug/[email protected]
76-
with:
77-
message: ${{ github.event.head_commit.message }}
78-
committer_name: GitHub Actions
79-
committer_email: [email protected]
45+
git config --local user.name "GitHub Action"
46+
git config --local user.email "[email protected]"
47+
git add .
48+
git commit -m "Update Builds"
49+
git push origin develop-builds

0 commit comments

Comments
 (0)