fix: Add rake task to clear users and searches tables (#1143) #37
Workflow file for this run
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: Build with tag | |
on: | |
push: | |
tags: [ v*.*.* ] | |
jobs: | |
jenkins-build: | |
name: Deploys new release to stage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Tag name | |
id: extract_tag | |
run: | | |
VERSION_TAG=${GITHUB_REF##*/} | |
echo ::set-output name=versionTag::${VERSION_TAG} | |
- name: Jenkins webhook | |
uses: enflo/curl-action@fabe347922c7a9e88bafa15c4b7d6326ea802695 | |
with: | |
curl: 'https://${{ secrets.JENKINS_USER }}@${{ secrets.JENKINS_HOST }}/job/DeployUrsus/buildWithParameters?GIT_BRANCH=${{ steps.extract_tag.outputs.versionTag }}&cause=GitHub+Action+Build+with+tag&DEPLOY_HOST=s-w-ursusweb01.library.ucla.edu&token=${{ secrets.JENKINS_API_URSUS_TOKEN }}' |