Digg 439 Refactoring, creating new entrystore service class, adding d… #1025
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: PushRepoToGitlab | |
on: [push] | |
jobs: | |
pushtogitlab: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Branch name | |
run: echo running on branch ${GITHUB_REF_NAME} | |
- name: Push To Gitlab | |
env: | |
token: ${{ secrets.GITLABTOKEN }} | |
gitlabrepo: ${{ secrets.GITLABREPO }} | |
run: | | |
echo Starting to push repo to gitlab | |
git config user.name "GitHub" | |
git config user.email "git@digitalist.github.com" | |
git remote set-url origin "https://oauth2:${token}@${gitlabrepo}" | |
git push origin ${GITHUB_REF_NAME} |