-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
TitleHHHH
authored and
TitleHHHH
committed
Nov 18, 2023
1 parent
1f0069a
commit 0b9fd0b
Showing
2 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,8 +54,22 @@ jobs: | |
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.0.100 | ||
- name: Setup Git | ||
run: | | ||
git config --global url."https://user:${{ secrets.GITHUB_TOKEN }}@github".insteadOf https://github | ||
git config --global user.name HolyClientDeploy | ||
git config --global user.email [email protected] | ||
- name: "Git clone" | ||
run: git clone $(git config --get remote.origin.url) -b gh-pages --depth 1 --single-branch ClickOnceArtifacts | ||
- name: 'Run: Preview' | ||
run: ./build.cmd Preview | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: "Deploy to branch: deploy" | ||
run: | | ||
cd ClickOnceArtifacts | ||
git add -A | ||
git commit -m "Test CI/CD" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters