forked from PalisadoesFoundation/talawa-api
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
d7450c4
commit 332c429
Showing
1 changed file
with
21 additions
and
21 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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
name: Pull Changes on Push to Develop Branch | ||
# name: Pull Changes on Push to Develop Branch | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
# on: | ||
# push: | ||
# branches: | ||
# - develop | ||
|
||
jobs: | ||
pull_changes: | ||
if: github.ref == 'refs/heads/develop' && github.event_name == 'push' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: develop | ||
# jobs: | ||
# pull_changes: | ||
# if: github.ref == 'refs/heads/develop' && github.event_name == 'push' | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout code | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# ref: develop | ||
|
||
- name: Pull changes from develop branch | ||
run: git pull origin develop | ||
# - name: Pull changes from develop branch | ||
# run: git pull origin develop | ||
|
||
- name: Push changes to automated-docs branch | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
git push origin HEAD:automated-docs | ||
# - name: Push changes to automated-docs branch | ||
# run: | | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "GitHub Actions" | ||
# git push origin HEAD:automated-docs |