Skip to content

Commit

Permalink
Added token data type to datatypes.
Browse files Browse the repository at this point in the history
Updating Github actions workflows to prevent deployment.
  • Loading branch information
david-waltermire committed Jun 7, 2021
1 parent d54e6d4 commit 2c2b241
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/metaschema-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@ jobs:
# cd "${OSCAL_WEBSITE_PATH}"
# #--allow-hash-href
# bundle exec htmlproofer --check-external-hash public/ --url-swap "https\://pages.nist.gov/OSCAL/:/" --assume-extension --log-level :debug --url-ignore "/\/OSCAL\/docs\/\/reference\/[^/]+\/[^/]+\/(?:json|xml)-(?:outline|reference|index|definitions)/,/#/,/pages.nist.gov\/(?:nist-header-footer|leaveNotice)\/.+/"
- name: Run deploy script
if: ${{ github.repository == env.HOME_REPO && github.ref == format('refs/heads/{0}',env.HOME_BRANCH) }}
run: |
cd "$OSCAL_WEBSITE_PATH"
git config user.name "Deployment Bot"
bash ./deploy.sh --push-only -v -m "Deploying website [ci deploy skip]"
# - name: Run deploy script
# if: ${{ github.repository == env.HOME_REPO && github.ref == format('refs/heads/{0}',env.HOME_BRANCH) }}
# run: |
# cd "$OSCAL_WEBSITE_PATH"
# git config user.name "Deployment Bot"
# bash ./deploy.sh --push-only -v -m "Deploying website [ci deploy skip]"
5 changes: 3 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
on:
push:
branches:
- feature-documentation-redesign-2021-05
- main
- develop
paths:
- 'docs/**'
- '.github/workflows/website.yml'
Expand All @@ -12,7 +13,7 @@ name: Build and Publish Website
env:
# the name of the repo
HOME_REPO: usnistgov/OSCAL
HOME_BRANCH: feature-documentation-redesign-2021-05
HOME_BRANCH: main
# dependency versions
HUGO_VERSION: 0.83.1
# build-specific environment
Expand Down
4 changes: 4 additions & 0 deletions docs/content/reference/datatypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ A boolean value mapped in XML, JSON, and YAML as follows:

A string of Unicode characters.

### token

A non-colonized name as defined by [XML Schema Part 2: Datatypes Second Edition](https://www.w3.org/TR/xmlschema11-2/#NCName).

### NCName

A non-colonized name as defined by [XML Schema Part 2: Datatypes Second Edition](https://www.w3.org/TR/xmlschema11-2/#NCName).
Expand Down

0 comments on commit 2c2b241

Please sign in to comment.