feat: DEVOPS-3353 add entry Website #12
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: release | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- VERSION | |
workflow_dispatch: | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out ${{ github.repository }} | |
uses: actions/checkout@v4 | |
- name: Check out Devolutions/actions | |
uses: actions/checkout@v4 | |
with: | |
repository: Devolutions/actions | |
ref: v1 | |
token: ${{ secrets.DEVOLUTIONSBOT_TOKEN }} | |
path: ./.github/workflows | |
- name: Set version | |
id: get-version | |
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT | |
- name: Create release | |
uses: ./.github/workflows/create-release | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: v${{ steps.get-version.outputs.version }} |