Skip to content

Commit

Permalink
fix yaml syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
hatappo committed Nov 18, 2021
1 parent ebe4296 commit 4a649bc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,24 @@ on:
push:
tags:
- 'v*'
name: Release
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set version
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: release
uses: svenstaro/[email protected]
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: zola-shortcodes-netlify-cms.js
asset_name: "zola-shortcodes-netlify-cms-${GITHUB_REF/refs\/tags\//}.js"
asset_name: "zola-shortcodes-netlify-cms-${RELEASE_VERSION}.js"
tag: ${{ github.ref }}
body: "No defference between script on the release and raw one in the repository"
overwrite: true

0 comments on commit 4a649bc

Please sign in to comment.