Skip to article frontmatterSkip to article content

0.5GHGL aan elkaar knopen

  sync:
    runs-on: ubuntu-latest
 
    steps:
      - name: Checkout GitHub Repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0  # Ensures all history is cloned
 
      - name: Push to GitLab
        run: |
          git config --global user.name "GitHub Actions"
          git config --global user.email "actions@github.com"
 
          # Add GitLab as a remote (update URL for your repo)
          git remote add gitlab https://oauth2:${{ secrets.GLPAT }}@gitlab.tudelft.nl//fpols/GHGL2.git
          # Use force-with-lease for safety
          git push gitlab