diff --git a/.github/workflows/ExportPluto.yaml b/.github/workflows/ExportPluto.yaml index 867ac9d..2c00abe 100644 --- a/.github/workflows/ExportPluto.yaml +++ b/.github/workflows/ExportPluto.yaml @@ -11,18 +11,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Julia - uses: julia-actions/setup-julia@v1 + uses: julia-actions/setup-julia@v2 with: - version: 1.6 + version: "1" # We set up a folder that Pluto can use to cache exported notebooks. If the notebook file did not change, then Pluto can take the exported file from cache instead of running the notebook. - name: Set up notebook state cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: pluto_state_cache key: ${{ runner.os }}-pluto_state_cache-v2-${{ hashFiles('**/Project.toml', '**/Manifest.toml', '.github/workflows/*' ) }}-${{ hashFiles('**/*jl') }} @@ -33,7 +33,7 @@ jobs: julia -e 'using Pkg Pkg.activate(mktempdir()) Pkg.add([ - Pkg.PackageSpec(name="PlutoSliderServer", version="0.3.2-0.3"), + Pkg.PackageSpec(name="PlutoSliderServer", version="1"), ]) import PlutoSliderServer PlutoSliderServer.github_action("."; @@ -43,8 +43,8 @@ jobs: # more parameters can go here )' - name: Deploy to gh-pages - uses: JamesIves/github-pages-deploy-action@releases/v3 + uses: JamesIves/github-pages-deploy-action@releases/v4 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages - FOLDER: . \ No newline at end of file + token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages + folder: .