Library that forms the entire backend of Nindo. Handles account managment, posting and more.
Commited on by Robin Boers.
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 536b407..d4884c3 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -2,23 +2,48 @@ name: Build and deploy docs
on:
push:
- branches: [ master ]
+ branches: ["master"]
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+concurrency:
+ group: "pages"
+ cancel-in-progress: true
jobs:
- build:
+ deploy:
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
-
steps:
- - uses: actions/checkout@v2
- - uses: erlef/setup-beam@v1
+ - name: Checkout
+ uses: actions/checkout@v3
+ - name: Setup Pages
+ uses: actions/configure-pages@v1
+
+ - name: Setup BEAM
+ uses: erlef/setup-beam@v1
with:
- otp-version: '25.0.1'
- elixir-version: '1.13.4'
- - run: mix deps.get
- - run: mix docs
-
- - name: Publish docs to GitHub Pages
- uses: rayluo/github-pages-overwriter@v1.2
+ otp-version: '24.0.6'
+ elixir-version: '1.12.3'
+ - name: Get dependencies
+ run: mix deps.get
+ - name: Build docs
+ run: mix docs
+
+ - name: Upload artifact
+ uses: actions/upload-pages-artifact@v1
with:
- source-directory: doc
- target-branch: docs
+ path: 'doc'
+
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@main