From e8c64bbb2accd87d79a65864b340fd83a98d9bd3 Mon Sep 17 00:00:00 2001 From: Laura Beghini <54085129+Laura2305@users.noreply.github.com> Date: Wed, 6 Sep 2023 23:06:30 +0200 Subject: [PATCH] Create Documentation.ylm --- .github/workflows/Documentation.ylm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/Documentation.ylm diff --git a/.github/workflows/Documentation.ylm b/.github/workflows/Documentation.ylm new file mode 100644 index 0000000..9f55d1c --- /dev/null +++ b/.github/workflows/Documentation.ylm @@ -0,0 +1,21 @@ +name: Documentation +on: + push: + branches: + - main + tags: '*' + pull_request: +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@latest + with: + version: '1.8' + - name: Install dependencies + run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' + - name: Build and deploy + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token + run: julia --project=docs/ docs/make.jl