summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2022-12-08 15:13:13 +0300
committerPatrick Williams <patrick@stwcx.xyz>2022-12-08 15:13:13 +0300
commit7385e139b0c9efca7430458cee982e63e282f4ae (patch)
tree1bbdb0164e556b76eec72cb558c66974c8f95dd8 /.github/workflows
parentb24a483eda5ca0b0ecdb4f0c61b90d76d0d8e1e0 (diff)
downloadwebui-vue-7385e139b0c9efca7430458cee982e63e282f4ae.tar.xz
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository. Change-Id: I2804ee3ab5ff6bcbf986b028db2fafec8e616779 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy-docs-to-gh-pages.yml54
1 files changed, 27 insertions, 27 deletions
diff --git a/.github/workflows/deploy-docs-to-gh-pages.yml b/.github/workflows/deploy-docs-to-gh-pages.yml
index bbc39dde..fb8022fa 100644
--- a/.github/workflows/deploy-docs-to-gh-pages.yml
+++ b/.github/workflows/deploy-docs-to-gh-pages.yml
@@ -1,34 +1,34 @@
name: Deploy documentation to GitHub pages
on:
- push:
- branches: [ master ]
+ push:
+ branches: [master]
jobs:
- build:
- runs-on: ubuntu-latest
+ build:
+ runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
+ steps:
+ - uses: actions/checkout@v2
- - name: Generate static vuepress files
- uses: actions/setup-node@v1
- with:
- node-version: '12.x'
- - run: npm ci
- - run: npm run docs:build
+ - name: Generate static vuepress files
+ uses: actions/setup-node@v1
+ with:
+ node-version: "12.x"
+ - run: npm ci
+ - run: npm run docs:build
- - name: Init new repo in dist folder and commit generated files
- run: |
- cd docs/.vuepress/dist
- git init
- git add -A
- git config --local user.email "action@github.com"
- git config --local user.name "GitHub Action"
- git commit -m 'deploy'
+ - name: Init new repo in dist folder and commit generated files
+ run: |
+ cd docs/.vuepress/dist
+ git init
+ git add -A
+ git config --local user.email "action@github.com"
+ git config --local user.name "GitHub Action"
+ git commit -m 'deploy'
- - name: Force push to gh-pages branch
- uses: ad-m/github-push-action@v0.5.0
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- branch: gh-pages
- force: true
- directory: ./docs/.vuepress/dist
+ - name: Force push to gh-pages branch
+ uses: ad-m/github-push-action@v0.5.0
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ branch: gh-pages
+ force: true
+ directory: ./docs/.vuepress/dist