mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-20 02:52:11 +00:00
fixing syntax errors
This commit is contained in:
parent
c034ab78c3
commit
15b281ecb7
40
.github/workflows/sync-workflow.yml
vendored
40
.github/workflows/sync-workflow.yml
vendored
@ -2,31 +2,31 @@
|
|||||||
name: Fork Sync with Upstream
|
name: Fork Sync with Upstream
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 7 * * 1,4'
|
- cron: '0 7 * * 1,4'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync_with_upstream:
|
sync_with_upstream:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout master
|
- name: Checkout master
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: master
|
||||||
|
|
||||||
- name: Pull (Fast-Forward) upstream changes
|
- name: Pull (Fast-Forward) upstream changes
|
||||||
id: sync
|
id: sync
|
||||||
uses: aormsby/Fork-Sync-With-Upstream-action@v2.0
|
uses: aormsby/Fork-Sync-With-Upstream-action@v2.0
|
||||||
with:
|
with:
|
||||||
upstream_repository: panr/hugo-theme-hello-friend
|
upstream_repository: panr/hugo-theme-hello-friend
|
||||||
upstream_branch: master
|
upstream_branch: master
|
||||||
target_branch: master
|
target_branch: master
|
||||||
git_pull_args: --ff-only # optional arg use, defaults to simple 'pull'
|
git_pull_args: --ff-only
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }} # optional, for accessing repos that require authentication
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Check for new commits
|
- name: Check for new commits
|
||||||
if: steps.sync.outputs.has_new_commits
|
if: steps.sync.outputs.has_new_commits
|
||||||
run: echo "There were new commits."
|
run: echo "There were new commits."
|
||||||
|
|
||||||
- name: Timestamp
|
- name: Timestamp
|
||||||
run: date
|
run: date
|
||||||
|
Loading…
Reference in New Issue
Block a user