fix docusaurus change taiwind styles no-release docker-false #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Tag and Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
# Add this condition to check for "no-release" in the commit message | |
if: "!contains(github.event.head_commit.message, 'no-release')" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # Allow pushing the tag | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Bump version and tag | |
id: tag_version | |
uses: mathieudutour/github-tag-action@v6.1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
default_bump: patch | |
- name: Push new tag | |
run: | | |
git fetch --tags | |
git push origin ${{ steps.tag_version.outputs.new_tag }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |