Skip to content

PRSTMS-4898 Fix multiple body parameter issue (#51) #10

PRSTMS-4898 Fix multiple body parameter issue (#51)

PRSTMS-4898 Fix multiple body parameter issue (#51) #10

Workflow file for this run

name: "Publish Parasut API Docs to GitHub Pages"
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm ci
- run: npm run build
- name: Compress artifact
run: |
chmod -c -R +rX "web_deploy" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
tar \
--dereference \
--directory "web_deploy" \
-cvf "artifact.tar" \
.
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: 'github-pages'
path: artifact.tar
retention-days: 1
if-no-files-found: error
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2