Skip to content

Enable Lightbearer pack #6

Enable Lightbearer pack

Enable Lightbearer pack #6

name: 'Enable Lightbearer pack'
on:
schedule:
# Run annually at 04:00 UTC on November 1st.
- cron: '0 4 1 11 *'
workflow_dispatch:
jobs:
enable-lightbearer:
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 lightbearer
git config user.name 'TibiaMaps.io'
git config user.email 'ci@tibiamaps.io'
git commit data -m 'Enable Lightbearer pack' -m 'This patch enables the Lightbearer markers in preparation for the upcoming event (which runs from November 11th until November 15th).'
git push