Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Merge pull request #21 from MazenGohar/main #48

Merge pull request #21 from MazenGohar/main

Merge pull request #21 from MazenGohar/main #48

Workflow file for this run

name: Publish Records
on:
push:
branches: [main]
workflow_dispatch:
jobs:
publish:
if: github.repository == 'proj-at/subdomains'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3.8.1
with:
node-version: 18.x
- name: Install
run: |
npm install -g yarn
yarn
- name: Publish
run: |
node functions/scan
env:
CLOUDFLARE_ZONE_PROJ_SBS: ${{ secrets.CLOUDFLARE_ZONE_PROJ_SBS }}
CLOUDFLARE_APIKEY_PROJ_SBS: ${{ secrets.CLOUDFLARE_APIKEY_PROJ_SBS }}
CLOUDFLARE_GLOBAL_KEY: ${{ secrets.CLOUDFLARE_GLOBAL_KEY }}
CLOUDFLARE_EMAIL_PROJ_SBS: ${{ secrets.CLOUDFLARE_EMAIL_PROJ_SBS }}