Skip to content

Commit

Permalink
re-enable commented steps
Browse files Browse the repository at this point in the history
  • Loading branch information
haltcase authored Nov 10, 2020
1 parent b494915 commit 85fc1a2
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ jobs:
cp -r $GITHUB_WORKSPACE/docs ./${{ steps.vars.outputs.tag }}
working-directory: ./${{ steps.vars.outputs.target_branch }}

# - name: Deploy documentation
# uses: JamesIves/[email protected]
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# BRANCH: ${{ steps.vars.outputs.target_branch }}
# FOLDER: ${{ steps.vars.outputs.target_branch }}
# GIT_CONFIG_NAME: GitHub Action
# GIT_CONFIG_EMAIL: [email protected]
# COMMIT_MESSAGE: 'docs: update documentation to ${{ steps.vars.outputs.tag }}'
- name: Deploy documentation
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: ${{ steps.vars.outputs.target_branch }}
FOLDER: ${{ steps.vars.outputs.target_branch }}
GIT_CONFIG_NAME: GitHub Action
GIT_CONFIG_EMAIL: [email protected]
COMMIT_MESSAGE: 'docs: update documentation to ${{ steps.vars.outputs.tag }}'

# this is necessary to make retrieving the previous tag possible
# without it, the previous tag is somehow the same as the current tag
Expand All @@ -79,15 +79,13 @@ jobs:
echo 'EOF' >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ github.token }}

- run: echo ${{ env.CHANGELOG_BODY }}

# - name: Create release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ steps.vars.outputs.tag }}
# release_name: ${{ steps.vars.outputs.tag }}
# body: ${{ env.CHANGELOG_BODY }}
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.vars.outputs.tag }}
release_name: ${{ steps.vars.outputs.tag }}
body: ${{ env.CHANGELOG_BODY }}

0 comments on commit 85fc1a2

Please sign in to comment.