This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
Merge pull request #18 from tharth0ur/main #45
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
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/[email protected] | |
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 }} |