Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove large files to fix build #6

Merged
merged 1 commit into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 5 additions & 36 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,39 +36,8 @@ jobs:
# Run the publisher - don't run the batch script but run the line directly
args: java -Xms1g -Xmx7g -jar ./input-cache/publisher.jar publisher -ig .

- name: Install Git LFS
run: |
sudo apt-get update
sudo apt-get install -y git-lfs
git lfs install
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./output
# keep_files: true # Ensures LFS files are preserved

- name: Configure Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Deploy to GitHub Pages
run: |
# Navigate to the directory to publish, e.g., ./output
cd ./output
# Initialize a new Git repository
git init
git remote add origin https://github.com/${{ github.repository }}.git
git checkout -b gh-pages
# Add and commit all files
git add .
git commit -m "Deploy to GitHub Pages"
# Force push to the gh-pages branch
git push --force origin gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
22 changes: 0 additions & 22 deletions input/resources/library/library-allconcepts.json

This file was deleted.

Loading