Skip to content

Create Version 🦉

Create Version 🦉 #7

name: Create Version 🦉
on:
create:
# Triggered when a branch or tag is created
jobs:
rdme-docs:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3
- name: Generate branch version string
run: |
BRANCH_VERSION="${{ github.ref }}"
echo "BRANCH_VERSION=$BRANCH_VERSION" >> $GITHUB_ENV
- name: Create version of docs for branch 🚀
uses: readmeio/rdme@v8
with:
rdme: versions:create v1.0-${{ env.BRANCH_VERSION }} --key=${{ secrets.README_API_KEY }} --fork=1.0 --main=false --beta=true --deprecated=false --isPublic=false