Skip to content

Commit 1173d6d

Browse files
authored
Merge pull request #50 from codebtech/feat/create-builds
new build step with email
2 parents 1fbca61 + e0f7d31 commit 1173d6d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/plugin-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,13 @@ jobs:
4848
4949
- name: Create and push built branch
5050
run: |
51-
git checkout -b main-built
5251
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
5352
git config --global user.name "${{ github.actor }}"
5453
git config --global credential.helper "store --file=.git/credentials"
55-
echo "username=${{ secrets.GITHUB_ACTOR }}" >> .git/credentials
54+
echo "username=${{ github.actor }}" >> .git/credentials
5655
echo "password=${{ secrets.GITHUB_TOKEN }}" >> .git/credentials
56+
git fetch origin main-built
57+
git checkout -b main-built
5758
git add -A # Stage all changes, including untracked files
5859
git clean -fdX
5960
git commit -m "Built WordPress plugin" --no-verify

0 commit comments

Comments
 (0)