Skip to content

Commit

Permalink
Pages Action
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetuska committed Mar 1, 2024
1 parent b2dfb30 commit f102a29
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
REPO_NAME=${{ github.repository }}
REPO_NAME=${REPO_NAME#${{ github.repository_owner }}/}
cp -avr sandbox/build/distributions/ public;
cp -avr sandbox/build/dist/js/productionExecutable/ public;
find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -exec gzip -f -k {} \;
# echo "/${REPO_NAME} /${REPO_NAME}/${REPO_NAME}/index.html 301" > public/_redirects;
# echo "/${REPO_NAME}/index.html /${REPO_NAME}/${REPO_NAME}/index.html 301" >> public/_redirects;
Expand All @@ -63,14 +63,3 @@ jobs:
build_dir: public
env:
GITHUB_TOKEN: ${{ github.token }}

# - uses: actions/setup-python@v2
# with:
# python-version: 3.x
# - run: |
# git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
# git config --local user.name "github-actions[bot]"
# git fetch origin gh-pages --depth=1
# - run: |
# pip install mkdocs-material mike
# - run: ./gradlew :npm-publish-docs:mikeDeploy -Pversion='${{ steps.resolve.outputs.version }}'

0 comments on commit f102a29

Please sign in to comment.