Skip to content

Commit da691bc

Browse files
committed
Revert "Cadence Next (cadence-workflow#200)" (cadence-workflow#202)
This reverts commit 82bf0bc.
1 parent 8859d3a commit da691bc

File tree

235 files changed

+34401
-15761
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+34401
-15761
lines changed

.envrc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,3 @@ export NODE_VERSIONS=~/.nvm/versions/node
55
export NODE_VERSION_PREFIX='v'
66
export NODE_OPTIONS=--openssl-legacy-provider
77
use node # reads .node-version, keep in sync with package.json
8-
9-
# Custom env values go into .envrc.local
10-
if [ -f .envrc.local ]; then
11-
echo "loading .envrc.local"
12-
source_env .envrc.local
13-
fi
14-

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ jobs:
1313

1414
steps:
1515
- name: Checkout 🛎️
16-
# https://github.com/actions/checkout
17-
uses: actions/checkout@v4
16+
uses: actions/checkout@v3
1817
with:
1918
persist-credentials: false
2019
- name: Use Node.js v18
21-
# https://github.com/actions/setup-node
22-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v3
2321
with:
24-
node-version: lts/hydrogen
22+
node-version: 18.x
2523
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2624
cache: 'npm'
2725
- name: Install and Build 🔧

.github/workflows/publish-to-gh-pages.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
name: Build and Deploy
22
on:
3-
workflow_dispatch:
43
push:
54
branches:
65
- master
76

8-
permissions:
9-
contents: write
10-
117
jobs:
128
build-and-deploy:
139
runs-on: ubuntu-latest
@@ -49,7 +45,7 @@ jobs:
4945
5046
# same as build.yml
5147
- name: Checkout 🛎️
52-
uses: actions/checkout@v4
48+
uses: actions/checkout@v3
5349
with:
5450
persist-credentials: false
5551

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

@@ -74,8 +70,9 @@ jobs:
7470
npm run build
7571
7672
- name: Deploy 🚀
77-
uses: JamesIves/github-pages-deploy-action@v4
73+
uses: JamesIves/github-pages-deploy-action@3.7.1
7874
with:
79-
branch: gh-pages # The branch the action should deploy to.
80-
folder: build # The folder the action should deploy.
81-
clean: true # Automatically remove deleted files from the deploy branch
75+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+
BRANCH: gh-pages # The branch the action should deploy to.
77+
FOLDER: dist # The folder the action should deploy.
78+
CLEAN: true # Automatically remove deleted files from the deploy branch

.gitignore

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,13 @@
1-
### macOS ###
2-
# General
31
.DS_Store
4-
.AppleDouble
5-
.LSOverride
6-
7-
# cypress
82
cypress/fixtures
93
cypress/plugins
104
cypress/support
115
cypress/videos
12-
13-
# dependencies
14-
/node_modules
15-
6+
dist
7+
dist-blog
8+
node_modules
9+
npm-debug.log
1610
# package-lock file is required for cypress github action to work.
1711
# See https://github.com/marketplace/actions/cypress-io#installation for more information.
1812
# package-lock.json
1913
yarn-error.log
20-
21-
### VisualStudioCode ###
22-
.vscode/*
23-
24-
# Production
25-
/build
26-
27-
# Generated files
28-
.docusaurus
29-
.cache-loader
30-
31-
# Misc
32-
.envrc.local
33-
.env.local
34-
.env.development.local
35-
.env.test.local
36-
.env.production.local
37-
38-
npm-debug.log*
39-
yarn-debug.log*
40-
yarn-error.log*

CHANGELOG.md

Whitespace-only changes.

CONTRIBUTING.md

Whitespace-only changes.

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
# [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)
1+
# [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)
22

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

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

512
# cadenceworkflow.io
613

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

7077
## License
7178

72-
MIT License, please see [LICENSE](https://github.com/cadence-workflow/Cadence-Docs/blob/master/LICENSE) for details.
79+
MIT License, please see [LICENSE](https://github.com/uber/Cadence-Docs/blob/master/LICENSE) for details.

blog/2024-11-18-cadence-workflows-github-organization.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

blog/authors.yml

Lines changed: 0 additions & 99 deletions
This file was deleted.

blog/tags.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)