Skip to content

Merge pull request #627 from redhat-documentation/dependabot/github_a… #383

Merge pull request #627 from redhat-documentation/dependabot/github_a…

Merge pull request #627 from redhat-documentation/dependabot/github_a… #383

Workflow file for this run

---
#
# Copyright (c) 2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create release
run: |
cd .vale/styles
echo $GITHUB_RUN_NUMBER > version.txt
zip -r RedHat.zip RedHat
zip -r AsciiDoc.zip AsciiDoc
zip -r OpenShiftAsciiDoc.zip OpenShiftAsciiDoc
gh release create v$GITHUB_RUN_NUMBER 'RedHat.zip' 'AsciiDoc.zip' 'OpenShiftAsciiDoc.zip'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}