Skip to content

Commit

Permalink
chore: add publish docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis committed Oct 24, 2024
1 parent 12519d3 commit 0965b53
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Hex Publish Docs

on:
workflow_dispatch:
branches:
- master

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Only run on master
if: github.ref != 'refs/heads/master'
run: exit 0
- uses: actions/checkout@v4
# - name: Set up Elixir
# uses: erlef/setup-beam@v1
# with:
# elixir-version: '1.17'
# otp-version: '27.1'
# - name: Restore dependencies cache
# uses: actions/cache@v4
# with:
# path: deps
# key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
# restore-keys: ${{ runner.os }}-mix-
# - name: Install dependencies
# run: |
# mix local.rebar --force
# mix local.hex --force
# mix deps.get
# - name: Run Hex Publish Docs
# run: mix hex.publish docs --yes
# env:
# HEX_API_KEY: ${{ secrets.HEX_API_KEY }}

0 comments on commit 0965b53

Please sign in to comment.