-
Notifications
You must be signed in to change notification settings - Fork 20
35 lines (30 loc) · 1.08 KB
/
enable-devovorga-pack.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: 'Enable Devovorga pack'
on:
schedule:
# Run annually at 04:00 UTC on August 1st (1 month before the event).
# https://tibia.fandom.com/wiki/Rise_of_Devovorga/Spoiler
- cron: '0 4 1 8 *'
workflow_dispatch:
jobs:
enable-anniversary:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Enable pack
run: |
node scripts/enable-marker-pack.mjs devovorga
git config user.name 'TibiaMaps.io'
git config user.email '[email protected]'
git commit data -m 'Enable Devovorga pack' -m 'This patch enables the Rise of Devovorga markers in preparation for the upcoming event (which runs from September 1st until September 7th, with potential rewards until October 1st).'
git push