Skip to content

Commit

Permalink
chore: update GitHub Actions workflow to sync with nuxt-start repo an…
Browse files Browse the repository at this point in the history
…d correct organization name
  • Loading branch information
hrynevychroman committed Aug 16, 2024
1 parent b6850b1 commit 6689791
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
run: |
git config --global user.email "$GIT_EMAIL"
git config --global user.name "$GIT_USERNAME"
git clone https://${{ env.ORG_NAME }}:${{ secrets.PAT }}@github.com/${{ env.ORG_NAME }}/destination-repo.git
cd destination-repo
git clone https://${{ env.ORG_NAME }}:${{ secrets.PAT }}@github.com/${{ env.ORG_NAME }}/nuxt-start.git
cd nuxt-start
git remote add ${{ env.ORIGINAL_REPO_NAME }} https://${{ env.ORG_NAME }}:${{ secrets.PAT }}@github.com/${{ env.ORG_NAME }}/${{ env.ORIGINAL_REPO_NAME }}.git
git remote update
git merge ${{ env.ORIGINAL_REPO_NAME }}/main
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
ORIGINAL_REPO_NAME: ${{ github.event.repository.name }}
ORG_NAME: Your workspace name
ORG_NAME: Hoverla-Soft

0 comments on commit 6689791

Please sign in to comment.