Add docs about shader compilation #439
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documenter | |
on: | |
push: | |
branches: [main] | |
tags: [v*] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: webfactory/ssh-agent@v0.5.4 | |
with: | |
ssh-private-key: ${{ secrets.ENV_KEY }} | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: "nightly" | |
- uses: julia-actions/cache@v1 | |
- run: julia --color=yes --project -e 'using Pkg; | |
Pkg.Registry.add(Pkg.RegistrySpec(url = "git@github.com:serenity4/Graphics")); | |
Pkg.Registry.add(Pkg.RegistrySpec(url = "git@github.com:JuliaRegistries/General")); | |
Pkg.instantiate()' | |
- uses: julia-actions/julia-docdeploy@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key | |
JULIA_PKG_USE_CLI_GIT: true |