Skip to content

chore: add release workflow #1

chore: add release workflow

chore: add release workflow #1

Workflow file for this run

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
name: Create Release
jobs:
release:
name: Create Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
with:
files: docs/openapi.yaml
publish:
name: Publish HTML documentation
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/download-artifact@v5
with:
name: openapi-html
path: public
run_id: 21241899480
- name: Deploy

Check failure on line 36 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 36
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public