diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2025-11-22 00:30:03 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-22 00:30:03 -0300 |
| commit | a56ea3089524b440b12b660d36c07f46b4fd9eb3 (patch) | |
| tree | a2989021cd758b3a30e707e06f11e4bbf1c5fc6b /.github/workflows/docs.yml | |
| parent | 5978c9bfb1eff01f33b4dcc8b02ceb93526eef4a (diff) | |
| download | Sakura-a56ea3089524b440b12b660d36c07f46b4fd9eb3.tar.gz Sakura-a56ea3089524b440b12b660d36c07f46b4fd9eb3.zip | |
Retract tuple, relation and clear relation (truncate) (#9)
Diffstat (limited to '.github/workflows/docs.yml')
| -rw-r--r-- | .github/workflows/docs.yml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..e659d8e --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,67 @@ +name: Documentation + +on: + push: + branches: + - master + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + build: + name: Build documentation + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Erlang/OTP + uses: erlef/setup-beam@v1 + with: + otp-version: '27' + rebar3-version: '3.23' + + - name: Restore dependencies cache + uses: actions/cache@v4 + with: + path: | + _build + rebar.lock + key: ${{ runner.os }}-rebar3-${{ hashFiles('rebar.config') }} + restore-keys: | + ${{ runner.os }}-rebar3- + + - name: Compile + run: rebar3 compile + + - name: Generate EDoc + run: rebar3 edoc + + - name: Setup Pages + uses: actions/configure-pages@v4 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: 'doc' + + deploy: + name: Deploy to GitHub Pages + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 |
