Skip to content

Commit

Permalink
Revert "Cadence Next (cadence-workflow#200)" (cadence-workflow#202)
Browse files Browse the repository at this point in the history
This reverts commit 82bf0bc.
  • Loading branch information
ibarrajo committed Jan 3, 2025
1 parent 8859d3a commit da691bc
Show file tree
Hide file tree
Showing 235 changed files with 34,401 additions and 15,761 deletions.
7 changes: 0 additions & 7 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,3 @@ export NODE_VERSIONS=~/.nvm/versions/node
export NODE_VERSION_PREFIX='v'
export NODE_OPTIONS=--openssl-legacy-provider
use node # reads .node-version, keep in sync with package.json

# Custom env values go into .envrc.local
if [ -f .envrc.local ]; then
echo "loading .envrc.local"
source_env .envrc.local
fi

8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ jobs:

steps:
- name: Checkout 🛎️
# https://github.com/actions/checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js v18
# https://github.com/actions/setup-node
uses: actions/setup-node@v4
uses: actions/setup-node@v3
with:
node-version: lts/hydrogen
node-version: 18.x
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
cache: 'npm'
- name: Install and Build 🔧
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/publish-to-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: Build and Deploy
on:
workflow_dispatch:
push:
branches:
- master

permissions:
contents: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -49,7 +45,7 @@ jobs:
# same as build.yml
- name: Checkout 🛎️
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
persist-credentials: false

Expand All @@ -64,7 +60,7 @@ jobs:
- name: Use Node.js lts/hydrogen (v18)
uses: actions/setup-node@v4
with:
node-version: lts/hydrogen
node-version: 18.x
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
cache: "npm"

Expand All @@ -74,8 +70,9 @@ jobs:
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: dist # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch
35 changes: 4 additions & 31 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,40 +1,13 @@
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# cypress
cypress/fixtures
cypress/plugins
cypress/support
cypress/videos

# dependencies
/node_modules

dist
dist-blog
node_modules
npm-debug.log
# package-lock file is required for cypress github action to work.
# See https://github.com/marketplace/actions/cypress-io#installation for more information.
# package-lock.json
yarn-error.log

### VisualStudioCode ###
.vscode/*

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.envrc.local
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
Empty file removed CHANGELOG.md
Empty file.
Empty file removed CONTRIBUTING.md
Empty file.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# [Cadence docs](https://cadenceworkflow.io) · ![Build and Deploy](https://img.shields.io/github/actions/workflow/status/cadence-workflow/Cadence-Docs/publish-to-gh-pages.yml?label=Build%20and%20Deploy&link=https%3A%2F%2Fgithub.com%2Fcadence-workflow%2FCadence-Docs%2Factions%2Fworkflows%2Fpublish-to-gh-pages.yml) ![Nightly integration test](https://img.shields.io/github/actions/workflow/status/cadence-workflow/Cadence-Docs/nightly-integration-test.yml?label=Nightly%20integration%20test&link=https%3A%2F%2Fgithub.com%2Fcadence-workflow%2FCadence-Docs%2Factions%2Fworkflows%2Fnightly-integration-test.yml)
# [Cadence docs](https://cadenceworkflow.io) · ![Build and Deploy](https://img.shields.io/github/actions/workflow/status/uber/Cadence-Docs/publish-to-gh-pages.yml?label=Build%20and%20Deploy&link=https%3A%2F%2Fgithub.com%2Fuber%2FCadence-Docs%2Factions%2Fworkflows%2Fpublish-to-gh-pages.yml) ![Nightly integration test](https://img.shields.io/github/actions/workflow/status/uber/Cadence-Docs/nightly-integration-test.yml?label=Nightly%20integration%20test&link=https%3A%2F%2Fgithub.com%2Fuber%2FCadence-Docs%2Factions%2Fworkflows%2Fnightly-integration-test.yml)

## Setting up for local development
This will start a local server and can be accessed at http://localhost:8080/
1. Run `npm install`
2. Run `npm run start`

### Adding pages to docs
1. Add the page under `Cadence-Docs/src/docs` in the correct place in the hierarchy
2. Add the page to `Cadence-Docs/src/.vuepress/config.js`

# cadenceworkflow.io

Expand Down Expand Up @@ -69,4 +76,4 @@ This will ensure the dependencies are pulled from the correct source and to prev

## License

MIT License, please see [LICENSE](https://github.com/cadence-workflow/Cadence-Docs/blob/master/LICENSE) for details.
MIT License, please see [LICENSE](https://github.com/uber/Cadence-Docs/blob/master/LICENSE) for details.
29 changes: 0 additions & 29 deletions blog/2024-11-18-cadence-workflows-github-organization.md

This file was deleted.

99 changes: 0 additions & 99 deletions blog/authors.yml

This file was deleted.

44 changes: 0 additions & 44 deletions blog/tags.yml

This file was deleted.

1 change: 0 additions & 1 deletion changelog/source/authors.json

This file was deleted.

28 changes: 0 additions & 28 deletions community/0-support.mdx

This file was deleted.

12 changes: 0 additions & 12 deletions community/1-team.mdx

This file was deleted.

24 changes: 0 additions & 24 deletions community/2-resources.mdx

This file was deleted.

11 changes: 0 additions & 11 deletions community/3-contributing.mdx

This file was deleted.

Loading

0 comments on commit da691bc

Please sign in to comment.