Skip to content

Mine CF Marketing Site #20110

Mine CF Marketing Site

Mine CF Marketing Site #20110

on:
schedule:
- cron: '15 * * * *'
workflow_dispatch: {}
name: Mine CF Marketing Site
jobs:
runner:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Restore NPM cache
uses: actions/cache@v4
continue-on-error: true
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('scripts/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Mine marketing site
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
cd scripts
npm ci
npm run mine:marketing
env:
DISCORD_WEBHOOK_MARKETING: ${{ secrets.DISCORD_WEBHOOK_MARKETING }}