Skip to content

Commit

Permalink
Merge pull request #17 from tensor4all/terasaki/fix-workflow
Browse files Browse the repository at this point in the history
Fix workflow
  • Loading branch information
terasakisatoshi authored Sep 22, 2024
2 parents a3933de + 17026d6 commit 0f52d56
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ExportPluto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
restore-keys: |
${{ runner.os }}-pluto_state_cache-v2-${{ hashFiles('**/Project.toml', '**/Manifest.toml', '.github/workflows/*' ) }}
- name: Edit .gitignore to allow to track html files
run: |
rm .gitignore
- name: Instantiate
run: |
julia --project -e 'using Pkg; Pkg.instantiate()'
Expand All @@ -61,14 +64,13 @@ jobs:
Export_baked_state=false,
# more parameters can go here
)'
- name: Allow to track html files
run: |
sed '/html/ s/^/# /' .gitignore
- name: List files
run: ls ./pluto_notebooks
- name: Deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@releases/v4
if: github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main'
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: .
folder: ./
single-commit: true
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

[![CI](https://github.com/tensor4all/T4APlutoExamples/actions/workflows/CI.yaml/badge.svg)](https://github.com/tensor4all/T4APlutoExamples/actions/workflows/CI.yaml)

[![pages-build-deployment](https://github.com/tensor4all/T4APlutoExamples/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/tensor4all/T4APlutoExamples/actions/workflows/pages/pages-build-deployment)

Website: https://tensor4all.org/T4APlutoExamples/pluto_notebooks/


Expand Down

0 comments on commit 0f52d56

Please sign in to comment.