File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : Automated PR for merging master into gh-pages
2
2
3
3
on :
4
+ workflow_dispatch :
4
5
schedule :
5
6
- cron : ' 0 0 * * 0' # Runs every Sunday at 00:00
6
7
21
22
- name : Merge master into gh-pages
22
23
run : |
23
24
git checkout gh-pages
24
- git merge --no-edit master || echo "Merge conflict occurred. Aborting the process." && exit 1
25
- git push origin gh-pages
25
+ git merge --no-edit master || echo "Merge conflict occurred. Continuing the process."
26
+ git push origin gh-pages || echo "Push failed. Continuing the process."
26
27
27
28
- name : Create Pull Request
28
29
uses : peter-evans/create-pull-request@v3
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ snippet: What is a snippet?
30
30
comments : true
31
31
---
32
32
33
+ testing pr workflow
34
+
33
35
[ ![ pages-build-deployment] ( https://github.com/bamr87/it-journey/actions/workflows/pages/pages-build-deployment/badge.svg )] ( https://github.com/bamr87/it-journey/actions/workflows/pages/pages-build-deployment )
34
36
35
37
[ ![ Gem Version] ( https://badge.fury.io/rb/jekyll-theme-zer0.svg )] ( https://badge.fury.io/rb/jekyll-theme-zer0 )
You can’t perform that action at this time.
0 commit comments