-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automate Orcsoberfest/Percht Island updates
Closes #104.
- Loading branch information
1 parent
fc3dda0
commit 0f7c83e
Showing
4 changed files
with
58 additions
and
5 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,25 @@ | ||
name: 'Enable Orcsoberfest Island pack' | ||
|
||
on: | ||
schedule: | ||
# Run annually at 04:00 UTC on February 1st. | ||
- cron: '0 4 1 2 *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
import-markers: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Enable pack | ||
run: | | ||
scripts/enable-pack.sh orcsoberfest | ||
git config user.name 'Mathias Bynens' | ||
git config user.email '[email protected]' | ||
git commit data/markers.json -m 'Enable Orcsoberfest Island maps' -m 'This patch replaces the Percht Island maps (and their markers) with the Orcsoberfest Island maps (and their markers) in preparation for the upcoming event.' | ||
git push |
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,25 @@ | ||
name: 'Enable Percht Island pack' | ||
|
||
on: | ||
schedule: | ||
# Run annually at 04:00 UTC on December 1st. | ||
- cron: '0 4 1 12 *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
import-markers: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Enable pack | ||
run: | | ||
scripts/enable-pack.sh percht | ||
git config user.name 'Mathias Bynens' | ||
git config user.email '[email protected]' | ||
git commit data/markers.json -m 'Enable Percht Island maps' -m 'This patch replaces the Orcsoberfest Island maps (and their markers) with the Percht Island maps (and their markers) in preparation for the upcoming event.' | ||
git push |
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