mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Update main.yml
This commit is contained in:
parent
2cebe780bd
commit
b18cb3a58a
1 changed files with 16 additions and 7 deletions
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
|
|
@ -51,6 +51,7 @@ jobs:
|
|||
with:
|
||||
name: dalamud-artifact
|
||||
path: .\scratch
|
||||
|
||||
- name: Generate dalamud-distrib version file
|
||||
shell: powershell
|
||||
run: |
|
||||
|
|
@ -70,11 +71,19 @@ jobs:
|
|||
$versionData.AssemblyVersion = $newVersion
|
||||
$versionData | ConvertTo-Json -Compress | Out-File .\stg\version
|
||||
}
|
||||
|
||||
- name: Commit changes
|
||||
uses: EndBug/add-and-commit@v7
|
||||
with:
|
||||
add: --all
|
||||
author_name: GitHub Action
|
||||
author_email: github-actions[bot]@users.noreply.github.com
|
||||
message: Update staging
|
||||
branch: main
|
||||
env:
|
||||
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
|
||||
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
|
||||
run: |
|
||||
eval "$(ssh-agent -s)"
|
||||
ssh-add - <<< "${DEPLOY_KEY}"
|
||||
|
||||
git config --global user.name "Actions User"
|
||||
git config --global user.email "actions@github.com"
|
||||
|
||||
git add .
|
||||
git commit -m "[CI] Update staging"
|
||||
|
||||
git push origin master
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue