Skip to content

Commit

Permalink
Update update-latest-branch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rgdelato authored Feb 14, 2023
1 parent 5466a93 commit f358755
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/update-latest-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ jobs:

- name: Run a Git status
run: git status

- run: |
git config user.name github-actions
git config user.email [email protected]
git fetch --unshallow --tags
touch foo.txt
git add --all
git commit -a -m 'Adding new file'
update-latest-branch:
name: Update public websites
Expand All @@ -43,6 +51,9 @@ jobs:
run: npm i -g npm@7

- run: |
git --no-pager log -n 2
git pull --rebase
git --no-pager log -n 2
git checkout latest
git rebase master
git push

0 comments on commit f358755

Please sign in to comment.