-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Handle cancelled jobs (ie timeouts) * fix: remove dist from gitignore * fix: added changes for cancelled event * ci: added git config details in test ci * ci: fixed push command for pull request * ci: added ref while pushing to pull request * ci: dump git context * ci: refer to pull request head ref * chore: updated dist with new code Co-authored-by: Erez Arnon <[email protected]> Co-authored-by: Github Actions <[email protected]>
- Loading branch information
1 parent
b0daf47
commit 9fcde3a
Showing
7 changed files
with
706 additions
and
11 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 |
---|---|---|
|
@@ -45,8 +45,11 @@ jobs: | |
|
||
- name: Commit if dist has changed | ||
run: | | ||
echo "${{ toJson(github) }}" | ||
git config user.name "Github Actions" | ||
git config user.email [email protected] | ||
if [ $(git status dist --porcelain=v1 2>/dev/null | wc -l) != "0" ]; then | ||
git add dist | ||
git commit -m "chore: updated dist with new code" | ||
git push origin HEAD --force | ||
git push origin HEAD:${{ github.event.pull_request.head.ref }} --force | ||
fi |
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 |
---|---|---|
|
@@ -126,7 +126,6 @@ out | |
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
|
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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