File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # Thanks to https://github.com/jlumbroso/lfs-to-github-pages
2+ name : GitHub Pages Build
3+
4+ on :
5+ push :
6+ branches :
7+ - master # Set a branch to deploy
8+
9+ permissions :
10+ contents : write
11+
12+ jobs :
13+ deploy :
14+ runs-on : ubuntu-22.04
15+ steps :
16+ - name : 🛎️ Checkout
17+ uses : actions/checkout@v3
18+ with :
19+ fetch-depth : 0 # Fetch all history for .GitInfo and .Lastmod
20+ lfs : true # Fetch large files
21+
22+ - name : ❌ Turn off LFS
23+ run : >-
24+ git lfs uninstall;
25+ rm -Rf .git;
26+ rm .gitattributes;
27+ rm repo-pkgbuild/ -rf;
28+ rm docker/ -rf;
29+ rm generate-env.sh packages LICENCE run-build-docker.sh;
30+
31+ - name : 🚀 Deploy to `gh-pages` branch
32+ uses : peaceiris/actions-gh-pages@v3.9.0
33+ with :
34+ github_token : ${{ secrets.GITHUB_TOKEN }}
35+ publish_dir : ./
36+ publish_branch : gh-pages
37+ user_name : " github-actions[bot]"
38+ user_email : " github-actions[bot]@users.noreply.github.com"
You can’t perform that action at this time.
0 commit comments