-
Notifications
You must be signed in to change notification settings - Fork 1
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
248adaf
commit deda459
Showing
6 changed files
with
71 additions
and
1 deletion.
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,31 @@ | ||
name: Deploy to Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
|
||
- name: List Git Remotes | ||
run: git remote -v | ||
|
||
- name: Deploy to Test | ||
env: | ||
PAT_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "UoftHacks-Admin" | ||
git clone https://UoftHacks-Admin:${{ secrets.GH_ACCESS_TOKEN }}@github.com/UoftHacks-Admin/test-dashboard-11.git | ||
cd test-dashboard-11 | ||
git remote add this-repo https://UoftHacks-Admin:${{ secrets.GH_ACCESS_TOKEN }}@github.com/UofTHacks-Official/dashboard-11.git | ||
git fetch this-repo main:deploy | ||
git checkout deploy | ||
git push -f https://UoftHacks-Admin:${{ secrets.GH_ACCESS_TOKEN }}@github.com/UoftHacks-Admin/test-dashboard-11.git deploy |
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,14 @@ | ||
name: Add site-11 issues to project | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
jobs: | ||
add-to-project: | ||
name: Add To GitHub projects | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/UofTHacks-Official/projects/21 | ||
github-token: ${{ secrets.GHPROJECT_TOKEN }} |
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,14 @@ | ||
name: Add site-11 prs to project | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
jobs: | ||
add-to-project: | ||
name: Add pr to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/add-to-project@main | ||
with: | ||
project-url: https://github.com/orgs/UofTHacks-Official/projects/21 | ||
github-token: ${{ secrets.GHPROJECT_TOKEN }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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