Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug-fix: fixed api routing issue with mongoose in deployment #6

Merged
merged 9 commits into from
Jan 2, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Create fetchupstream.yml
  • Loading branch information
sboy99 committed Dec 26, 2022
commit 0ea9fd911f131eb0d20708ce011885775dc99f1d
29 changes: 29 additions & 0 deletions .github/workflows/fetchupstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Sync to Upstream

on:
schedule:
- cron: '12 7 * * 1,4'
# scheduled at 07:12 every Monday and Thursday
workflow_dispatch:

jobs:
sync_with_upstream:
runs-on: ubuntu-latest
name: Sync HEAD with upstream latest

steps:
# Step 1: run a standard checkout action, provided by github
- name: Checkout HEAD
uses: actions/checkout@v2
with:
ref: main

# Step 2: run this sync action - specify the upstream repo, upstream branch to sync with, and target sync branch
- name: Pull upstream changes
id: sync
uses: bdougie/Fork-Sync-With-Upstream-action@fork
with:
upstream_repository: pbclife/pbclife
upstream_branch: main
target_branch: main # optional
github_token: ${{ secrets.GITHUB_TOKEN }} # optional, for accessing repos that require authentication