forked from UnBTV/UnB-TV-VideoService
-
Notifications
You must be signed in to change notification settings - Fork 3
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
9 changed files
with
62 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Merge Repositories | ||
|
||
on: [repository_dispatch] | ||
|
||
jobs: | ||
sync_with_upstream: | ||
runs-on: ubuntu-latest | ||
environment: actions | ||
|
||
steps: | ||
- name: Checkout fork | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: victorleaoo/2024.1-UnB-TV-VideoService | ||
ref: develop | ||
token: ${{ secrets.API_GITHUB_TOKEN }} | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git user | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Action" | ||
- name: Add and fetch upstream | ||
run: | | ||
git remote add upstream https://github.com/fga-eps-mds/2024.1-UnB-TV-VideoService.git | ||
git fetch upstream | ||
- name: Merge upstream changes | ||
run: | | ||
git checkout develop | ||
git merge upstream/develop --no-ff | ||
git push origin develop --force |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"builds": [ | ||
{ "src": "src/main.py", "use": "@vercel/python" } | ||
], | ||
"routes": [ | ||
{ "src": "/(.*)", "dest": "src/main.py" } | ||
] | ||
} |