forked from mirror/azerothcore-wotlk
fix(CI): sql import
SQL import failed to push due to github branch protection. Seems this will allow the actual supplied token to be used which has push access. The solution was found from https://github.community/t5/GitHub-Actions/Push-to-restricted-master-branch/m-p/54948
This commit is contained in:
@@ -11,6 +11,8 @@ jobs:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Extract branch name
|
||||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
||||
id: extract_branch
|
||||
|
||||
Reference in New Issue
Block a user