Skip to content

Commit 5ebcf8c

Browse files
authored
Merge pull request #20 from ReLive27/main
make.sh: add executable permission
2 parents d982882 + fee9463 commit 5ebcf8c

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/deploy-redoc-docs.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12-
- name: Add execute permission to make.sh
13-
run: chmod +x make.sh
14-
- uses: actions/checkout@v2
1512
- name: Build docs
16-
run: ./make.sh
13+
run: ./docs/make.sh
1714
- name: Deploy to GitHub Pages
1815
uses: peaceiris/actions-gh-pages@v3
1916
with:
2017
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
2118
publish_dir: ./docs
2219
force_orphan: false
20+
exclude_assets: 'make.sh'

make.sh renamed to docs/make.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
echo "Getting started"
44

55
# Bundle docs into zero-dependency HTML file
6-
npx @redocly/cli build-docs ./openapi/simple-auth0.yaml && \
7-
mv redoc-static.html index.html && \
6+
npx @redocly/cli build-docs ./docs/openapi/simple-auth0.yaml && \
7+
mv ./redoc-static.html ./docs/index.html && \
88
echo "Changed name from redoc-static.html to index.html" && \
99
# Add favicon
1010
#sed -i '7 i \ \ <link rel="icon" type="image/png" href="images/favicon.png"/>' index.html && \

0 commit comments

Comments
 (0)