diff --git a/.github/workflows/ExportPluto.yaml b/.github/workflows/ExportPluto.yaml index 7ae1d70..ffa0bc3 100644 --- a/.github/workflows/ExportPluto.yaml +++ b/.github/workflows/ExportPluto.yaml @@ -16,21 +16,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout this repository - 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.9" + version: "1" - name: Cache Julia artifacts & such - uses: julia-actions/cache@v1 + uses: julia-actions/cache@v2 with: cache-registries: "true" # 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') }} @@ -42,7 +42,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"), ]) Pkg.add(PackageSpec(name="GeoPhyInv",url="https://github.com/pawbz/GeoPhyInv.jl.git")); using GeoPhyInv; GeoPhyInv.set_preferences() import PlutoSliderServer @@ -55,8 +55,7 @@ jobs: - 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 + branch: gh-pages + folder: .