Skip to content

Commit e682664

Browse files
authored
Use QED Github Action for building and deploying documentation (QEDjl-project#57)
1 parent df01c6c commit e682664

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed
Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Deploy Documentation
1+
name: Build and deploy documentation
22

33
on:
44
push:
@@ -15,22 +15,6 @@ jobs:
1515
statuses: write
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
19-
- uses: julia-actions/setup-julia@v1
18+
- uses: QEDjl-project/gh-actions/build-docs@v1
2019
with:
21-
version: '1.10'
22-
- name: clone integration test tools
23-
run: |
24-
git clone --depth 1 -b dev https://github.com/QEDjl-project/QuantumElectrodynamics.jl.git /tmp/integration_test_tools/
25-
- name: set dev dependencies
26-
run: |
27-
$(julia --project=. /tmp/integration_test_tools/.ci/CI/src/GetProjectNameVersionPath.jl)
28-
echo "CI_DEV_PKG_NAME -> $CI_DEV_PKG_NAME"
29-
echo "CI_DEV_PKG_VERSION -> $CI_DEV_PKG_VERSION"
30-
echo "CI_DEV_PKG_PATH -> $CI_DEV_PKG_PATH"
31-
julia --project=docs/ /tmp/integration_test_tools/.ci/CI/src/SetupDevEnv.jl
32-
julia --project=docs/ -e 'import Pkg; Pkg.instantiate()'
33-
- name: Build and deploy
34-
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
run: julia --project=docs/ docs/make.jl
20+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)