From 4da2f5b36a1e3f3145afacffb6575931899c1cdf Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Fri, 4 Oct 2024 18:20:19 +0100 Subject: [PATCH] Add SSH key for all relevant workflows (#97) * Add basic gitignore file * Add DOCUMENTER_KEY to all relevant workflows --- .github/workflows/CompatHelper.yml | 4 ++-- .github/workflows/Documentation.yml | 1 + .github/workflows/TagBot.yml | 2 +- .gitignore | 5 +++++ 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index 8e6f5716e..e1eb3c5ed 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -10,7 +10,7 @@ jobs: - name: Pkg.add("CompatHelper") run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main() + run: julia -e 'using CompatHelper; CompatHelper.main(; subdirs=["", "bench", "test", "docs"])' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} - run: julia -e 'using CompatHelper; CompatHelper.main(; subdirs=["", "bench", "test", "docs"])' + COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index e4ad3154e..62e32b13d 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -29,6 +29,7 @@ jobs: - uses: julia-actions/julia-docdeploy@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} - name: Run doctests shell: julia --project=docs --color=yes {0} run: | diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 253866e9f..f49313b66 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -12,4 +12,4 @@ jobs: - uses: JuliaRegistries/TagBot@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - + ssh: ${{ secrets.DOCUMENTER_KEY }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..bbd6384c7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.swp +.vscode/ +docs/build/ +.DS_Store +Manifest.toml