Skip to content

Commit

Permalink
deploy auth cms to the new org
Browse files Browse the repository at this point in the history
  • Loading branch information
CreatedByBdr committed Oct 26, 2023
1 parent 02e1d45 commit 9ffacf7
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/netlify-cms-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.NEW_CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.NEW_CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: workspaces/netlify-cms-auth
command: publish
48 changes: 48 additions & 0 deletions .github/workflows/netlify-cms-auth_old.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Build and Deploy Netlify CMS Auth

on:
push:
branches:
- deploy/netlify-cms-auth

jobs:
build_and_deploy:
name: Build and Deploy
environment: "netlify-cms-auth"
permissions:
contents: read
deployments: write
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn

- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
.yarn/cache
.yarn/install-state.gz
.eslintcache
**/tsconfig.tsbuildinfo
**/.types/**
**/.types-*/**
key: build-cache-${{ hashFiles('yarn.lock') }}
restore-keys: |
build-cache-
- name: Install dependencies
run: yarn

- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: workspaces/netlify-cms-auth
command: publish

0 comments on commit 9ffacf7

Please sign in to comment.