Github Actions 5 years ago
parent
commit
d49b61793d
  1. 4
      .github/workflows/repo2store.yml

4
.github/workflows/repo2store.yml

@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v2-beta uses: actions/checkout@v2-beta
with: with:
fetch-depth: 100 fetch-depth: 100
# custom token is not needed for fetching REPO,
# custom token is not needed for fetching REPO,
# but the action makes some magic with authentication headers # but the action makes some magic with authentication headers
# which are used on pushing to REPO-store # which are used on pushing to REPO-store
token: ${{ secrets.DINAR_TOKEN }} token: ${{ secrets.DINAR_TOKEN }}
@ -24,7 +24,7 @@ jobs:
run: | run: |
set -x set -x
git config --global user.email "itpp-bot@users.noreply.github.com" git config --global user.email "itpp-bot@users.noreply.github.com"
git config --global user.name "Mitchell Admin"
git config --global user.name "Mitchell Admin"
BRANCH=${GITHUB_REF##*/} BRANCH=${GITHUB_REF##*/}
REF=$(git rev-parse HEAD) REF=$(git rev-parse HEAD)
git checkout -b $BRANCH-store store/$BRANCH git checkout -b $BRANCH-store store/$BRANCH

Loading…
Cancel
Save