-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
1 changed file
with
5 additions
and
5 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 |
---|---|---|
|
@@ -14,22 +14,21 @@ jobs: | |
- name: Change to repository directory | ||
run: cd $GITHUB_WORKSPACE | ||
|
||
- name: Fetch latest changes | ||
run: git fetch origin dev:refs/remotes/origin/dev | ||
|
||
- name: Check if dev branch exists | ||
run: | | ||
if [[ ! -d "dev" ]]; then | ||
echo "dev branch does not exist" | ||
echo "Creating dev branch" | ||
git checkout -b dev | ||
git push -u origin dev | ||
git checkout -b dev origin/dev | ||
else | ||
echo "dev branch already exists" | ||
git checkout dev | ||
git pull origin dev | ||
fi | ||
- name: Add commit to dev branch | ||
run: echo "Dummy commit" >> dummy-file.txt && git add dummy-file.txt && git commit -m "Dummy commit" && git push origin dev | ||
|
||
- name: Render template | ||
id: render-template | ||
uses: chuhlomin/[email protected] | ||
|
@@ -43,3 +42,4 @@ jobs: | |
base: 'main' | ||
title: "Weekly PR - $(date +'%d %B %Y')" | ||
body: ${{ steps.render-template.outputs.result }} | ||
delete-branch: true |
05a91c0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
web-app-v2 – ./
web-app-v2-git-main-christ-fellowship-church.vercel.app
christfellowship.church
christ-fellowship-church.vercel.app
web-app-v2-christ-fellowship-church.vercel.app
www.christfellowship.church
cftrinity.church